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
What is a set in c++?
What is abstraction in c++ with example?
How does a C++ structure differ from a C++ class?
Implement stack operations with pointers with appropriate exception checks.
How can you link a c++ program to c functions?
What jobs can you get with a c++ certification?
what is a reference variable in C++?
What is meant by const_cast?
What is the best it certification?
How do you compile the source code with your compiler?
What is difference between class and structure in c++?
Why c++ is better than c language?
What is the difference between #import and #include?
What is flush c++?
What is enum c++?