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
Should you pass exceptions by value or by reference?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is an html tag?
Is oops and c++ same?
What do manipulators do?
Define stacks. Provide an example where they are useful.
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What are shallow and deep copies?
Do class declarations end with a semicolon?
What is the difference between multiple and multilevel inheritance in c++?
What is public, protected, private in c++?
Give 10 points of differences between C & C++.
What is a pointer with example?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What is class invariant in c++?