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
Student jack();
declares a function that returns student and takes no arguments. Not an object!
See more in this gotw