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
Why ctype h is used in c++?
Which of the following is evaluated first: a) && b) || c) !
Differentiate between an array and a list?
What is a linked list in c++?
Explain the concept of friend function in c++?
Which operator cannot be overloaded c++?
Which is better turbo c++ or dev c++?
What is increment operator in c++?
What is the difference between strcpy() and strncpy()?
What are pointer-to-members? Explain.
How do I download c++?
Explain differences between new() and delete()?
What do the header files usually contains?
What information can an exception contain?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;