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 is an iterator?
What is c++ stringstream?
What is meaning of in c++?
Why is null pointer used?
Can we use clrscr in c++?
What is a .h file c++?
What is endianness?
Define a conversion constructor?
Where must the declaration of a friend function appear?
What is ostream in c++?
Describe protected access specifiers?
Define namespace in c++?
Can you explicitly call a destructor on a local variable?
Is there a sort function in c++?
How do you clear a set in c++?