What are the differences between a struct in C and in C++?
Answer Posted / swetcha
C structure does not support member functions to be
declared in the structure whereas C++ structure can have
member functions declared in them
| Is This Answer Correct ? | 34 Yes | 3 No |
Post New Answer View All Answers
How does list r; differs from list r();?
What is &x in c++?
What is object in c++ example?
Explain bubble sorting.
Can user-defined object be declared as static data member of another class?
What is a set in c++?
Does dev c++ support c++ 11?
What are shallow and deep copies?
In the derived class, which data member of the base class are visible?
What is the benefit of learning c++?
What are containers in c++?
What does it mean to declare a member function as virtual?
Differentiate between late binding and early binding.
describe private access specifiers?
What is increment operator in c++?