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 is a static element?
Can we define a constructor as virtual in c++?
What is the full form nasa?
Is c++ faster than c?
Explain deep copy?
How do you clear a set in c++?
What is data binding in c++?
What is singleton pattern in c++?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
What is array give example?
What is pointer to array in c++?
Why #include is used?
What is difference between c++ and c ++ 14?
Which one is a preferred language C or C++? Why?
Difference between overloading vs. Overriding