why the size of an empty class is 1

Answer Posted / abhishek

its because an empty class makes an entry to symbol table (code segment)
which requires a symoblic mapping of 1 byte

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c++ data types?

636


What is this pointer in c++?

728


What is overloading unary operator?

595


State the difference between delete and delete[].

572


What is the difference between global int and static int declaration?

403






What is the best c c++ compiler for windows?

558


the maximum length of a character constant can be a) 2 b) 1 c) 8

597


Describe linkages and types of linkages?

559


What is c++ map?

561


What is the full form of india?

561


What is a dynamic binding in c++?

526


What are the unique features of C++.

567


How much is c++ certification?

581


What is the sequence of destruction of local objects?

554


Explain the use of this pointer?

632