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
What is microsoft c++ redistributable?
What are the types of pointer?
When to use “const” reference arguments in a function?
How important is c++?
In the derived class, which data member of the base class are visible?
What is difference between n and endl in c++?
Explain the difference between realloc() and free() in c++?
What is extern c++?
What is the difference between an external iterator and an internal iterator?
What is the use of "new" operator?
What apps are written in c++?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What are friend functions in C++?
What is the error in the code below and how should it be corrected?
Comment on assignment operator in c++.