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 meant by entry controlled loop?
When to use “const” reference arguments in a function?
Is c++ platform dependent?
Are c and c++ different?
what are the events occur in intr activated on interrupt vector table
Define basic type of variable used for a different condition in C++?
Will the following program execute?
What is polymorphism and its type in c++?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
What is private, public and protected inheritance?
What is purpose of abstract class?
Where is atoi defined?
Search for: what is pair in c++?
What is ios flag in c++?
Can non graphic characters be used and processed in C++?