Answer Posted / saket kale
when i tried to calculate the size of an empty class that
time i found that it takes 1 byte.which is the size of a
char.That might be the memory taken by the compiler for
storing the address of a empty class.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you create a virtual copy constructor?
What is the use of endl?
Is c++ a good first language to learn?
Which software is best for c++ programming?
How to declaring variables in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Explain the use of this pointer?
Why namespace is used in c++?
What is insertion sorting?
What is c++ array?
What is &x in c++?
What do you mean by funtion prototype?
Who created c++?
How do you clear a set in c++?
What are libraries in c++?