M
maxmus
Class A
{
int a;
};
cout<<"the size of A is "<< sizeof(A)<<endl;
Q: what is the result?
Now Add in a function, int getVal();
What's the result now?
Explain why
{
int a;
};
cout<<"the size of A is "<< sizeof(A)<<endl;
Q: what is the result?
Now Add in a function, int getVal();
What's the result now?
Explain why