What are the differences between a struct in C and in C++?
Answer Posted / shakti singh khinchi
In C, structures never support constructors and destructors
whereas C++ supports both of them.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Differentiate between structure and class in c++.
Out of fgets() and gets() which function is safe to use and why?
What is the use of class in c++?
How can I learn dev c++ programming?
What is scope resolution operator in c++ with example?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
Define the operators that can be used with a pointer.
What are virtual constructors/destructors?
What is ctime c++?
Can I uninstall microsoft c++ redistributable?
Explain terminate() and unexpected() function?
How should runtime errors be handled in c++?
Is c++ proprietary?
What is the difference between ++ count and count ++?
Is facebook written in c++?