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
Explain all the C++ concepts using examples.
What are manipulators used for?
Explain shallow copy?
What is difference between class and function?
What do you mean by translation unit in c++?
Is c++ low level?
What is searching? Explain linear and binary search.
What are the advantages of using a pointer?
Is c++ vector a linked list?
What is the best way to take screenshots of a window with c++ in windows?
Describe the setting up of my member functions to avoid overriding by the derived class?
What is the difference between the parameter to a template and the parameter to a function?
What are the c++ access specifiers?
What's the most powerful programming language?
What are c++ data types?