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
What are c++ stream classes?
What is a constant? Explain with an example.
Will the following program execute?
Difference between inline functions and macros?
Specify some guidelines that should be followed while overloading operators?
List down the guideline that should be followed while using friend function.
Can manipulators fall in love?
Mention the ways in which parameterized can be invoked.
Is c++ vector dynamic?
Give 10 points of differences between C & C++.
Why is c++ not purely object oriented?
What's the hardest coding language?
What do you understand by zombie objects in c++?
How would you use the functions memcpy(), memset(), memmove()?
What are the uses of c++ in the real world?