What is the Difference between "C structure" and "C++
structure"?
Answer Posted / ranjeet garodia
In C++, structure behaves like class like can add function,
and can use properties on class as inheritance, virtual,
etc.
while in C, structure we can have only data member but not
functions.
| Is This Answer Correct ? | 57 Yes | 8 No |
Post New Answer View All Answers
Tell me what are static member functions?
What do you mean by delegate? Can a user retain delegates?
What is c++ library?
What is an incomplete type in c++?
Explain how we implement exception handling in c++?
Is c or c++ more useful?
What is microsoft c++ redistributable?
What is a template in c++?
What is the output of the following program? Why?
Can we define a constructor as virtual in c++?
What is the use of vtable?
What do you mean by const correctness?
Is c++ harder than java?
What are the main features of c++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes