Question is: STRUCT in C++ compared to CLASS in C++; not C.

guest (Zack)
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?

2001-3-24 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 我找工作面试时的一个问题,Struct和Class有什么区别?我回答Struct 没有构造和析构函数,现在想想一定不对,谁知道,谢谢先。

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论