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
What is rvalue?
What is virtual destructor? What is its use?
Differentiate between a template class and class template in c++?
What is the object serialization?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What are pointers used for c++?
What size is allocated to the union variable?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Are there interfaces in c++?
What are the differences between java and c++?
Write some differences between an external iterator and an internal iterator?
What are the storage qualifiers?
Write a program which uses functions like strcmp(), strcpy()? etc
How the endl and setw manipulator works?
Can I uninstall microsoft c++ redistributable?