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
List the special characteristics of constructor.
What is data structure in c++?
What is setiosflags c++?
What are multiple inheritances (virtual inheritance)?
How do I use arrays in c++?
Write a function to find the nth item from the end of a linked list in a single pass.
What are the restrictions apply to constructors and destructors?
Is c++ a high level language?
what is c++
What is an operator function? Describe the function of an operator function?
Define basic type of variable used for a different condition in C++?
What is a manipulator in c++?
Define a conversion constructor?
What are the operators in c++?
Explain the different access specifiers for the class member in c++.