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 the prototype of printf function?
What are structures and unions?
Where are setjmp and longjmp used in c++?
What is namespace std; and what is consists of?
What do you know about near, far and huge pointer?
What is c++ mutable?
What is private inheritance?
Out of fgets() and gets() which function is safe to use and why?
Is nan a c++?
Is sorted c++?
What is a list c++?
Is c++ proprietary?
What are c++ tokens?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is constructor and destructor in c++?