Hi, The question is to compare STRUCT & CLASS in C++, not C;
It's meaningless to compare these two things in C 'cause there is no CLASS in C;
I had the same experience being asked the same question and I failed. The reason why the employer ask this question is that he want to know if you are familiar with C++, not just using C++ compiler doing the C language stuff.
So I believe if you answer like your way or Ji Ang's , I bet you will not get good result for the interview.
I also want to ask a technical question from one of my interview, can anybody answer it:
How to implement multiple inheritance in VB?
thanks.
It's meaningless to compare these two things in C 'cause there is no CLASS in C;
I had the same experience being asked the same question and I failed. The reason why the employer ask this question is that he want to know if you are familiar with C++, not just using C++ compiler doing the C language stuff.
So I believe if you answer like your way or Ji Ang's , I bet you will not get good result for the interview.
I also want to ask a technical question from one of my interview, can anybody answer it:
How to implement multiple inheritance in VB?
thanks.