What is size of a empty class?
Answer Posted / mashal
Size of an empty class is 1 byte. It is non zero to ensure that the two different objects will have different addresses.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program which employs Recursion
What is buffering in c++?
What is a singleton c++?
What is a singleton class c++?
When can I use a forward declaration?
Write about c++ storage classes?
What are the benefits of oop in c++?
Where must the declaration of a friend function appear?
write a function signature with various number of parameters.
Should I learn c or c++ or c#?
what is the difference between overloading & overriding? give example.
What are the advantage of using register variables?
What are the advantages of pointers?
What is enum c++?
How the virtual functions maintain the call up?