what is the size of a class which contains no member
variables but has two objects??? is it 1 or 2??
Answer Posted / rao
2 (if two objects are empty class) otherwise Note : The
size of class = the size of Data members of the objects +
Size of data members of the Class.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are manipulators in c++ with example?
What is #include sstream?
What is the exit function in c++?
Write a program to find the reverse Fibonacci series starting from N.
What can I use instead of namespace std?
What is the difference between #define debug 0 and #undef debug?
Is c++ vector a linked list?
What is the difference between an array and a list?
What is &x in c++?
What are the 3 levels of programming languages?
What are exceptions c++?
Do you know the use of vtable?
Can turbo c++ run c program?
What are smart pointers?
Write a Program to find the largest of 4 no using macros.