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
Difference between pointer to constant vs. Pointer constant
What is linked list in c++?
What is c++ similar to?
Explain one-definition rule (odr).
Write about all the implicit member functions of a class?
What are the advantages of pointers?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
What is a terminating character in c++?
Can constructor be static in c++?
What are pointers used for c++?
Why c++ does not have finally?
What is the difference between reference and pointer?
What is the purpose of templates in c++?
What is the purpose of the "delete" operator?