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 auto type c++?

1170


What is the difference between a type-specific template friend class and a general template friend class?

1032


How does list r; differs from list r();?

1196


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

1059


What is diamond problem in c++?

1057


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1946


Can java be faster than c++?

1202


Why c++ is so important?

1137


Please explain the reference variable in c++?

1129


List down the guideline that should be followed while using friend function.

1112


What are iterators in c++?

1061


What are the characteristics of friend functions?

1073


What is an overflow error?

1153


What is constant in c++ with example?

1204


What is anonymous object in c++?

1135