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
What is the use of default constructor?
Explain abstraction.
Define token in c++.
Can I uninstall microsoft c++ redistributable?
What is a buffer c++?
What is a tree in c++?
Will a catch statement catch a derived exception if it is looking for the base class?
Write about an iterator class?
What are the three forms of cin.get() and what are their differences?
What is a lambda function c++?
Do vectors start at 0 c++?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
What methods can be overridden in java?
What is the best way to declare and define global variables?
What is a wchar_t in c++?