Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why the size of an empty class is 1

Answer Posted / surender a

Because the fundamental size is a char [viz 1 byte by
default on any 32 bit or 64 bit machine].

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is fflush c++?

952


What are the three forms of cin.get() and what are their differences?

1152


What are virtual constructors/destructors?

942


Who discovered c++?

984


What is a catch statement?

981


What is the meaning of c++?

967


How to access a variable of the structure?

1014


What are default parameters? How are they evaluated in c++ function?

1128


Explain the static storage classes in c++.

1194


Do vectors start at 0 c++?

978


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1037


What is enum class in c++?

1178


What is #include c++?

1044


Explain the difference between using macro and inline functions?

1052


Define pure virtual function?

933