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
Is c++ platform dependent?
How important is c++?
What is flush c++?
how to connect with oracle 9i with server in socket program in c/c++
Should I learn c++ c?
Why is c++ is better than c?
What are the important differences between c++ and java?
Can you sort a set c++?
Which ide is best for c++?
How would you find out if a linked-list is a cycle or not?
Explain explicit container.
What is the function of I/O library in C++ ?
Is C++ case sensitive a) False b) Depends on implementation c) True
How const int *ourpointer differs from int const *ourpointer?
What is implicit pointer in c++?