To be more explicit, I get a compile time error when I try accessing an instance variable when I create an object using (), but when I don\'t, the code compiles and runs as expe
I would try this
class Student {
public:
int gpa = 4; Student() { };