What are the differences between a struct in C and in C++?
Answer Posted / shakti singh khinchi
In C, structures does not support "virtual" mechanism like
virtual functions whereas C++ structures supports virtual
mechanism like classes.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain the use of vtable.
What are the four partitions in which c++ compiler divides the ram?
what is C++ exceptional handling?
Are php strings immutable?
what are the types of Member Functions?
What is the use of :: operator in c++?
Define the process of handling in case of destructor failure?
What is meant by iomanip in c++?
Is java a c++?
How would you obtain segment and offset addresses from a far address of a memory location?
What you know about structures in C++?
Is c++ a high level language?
Can turbo c++ run c program?
Is swift better than c++?
What is the use of pointer in c++ with example?