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 does the ios::ate argument do?

1241


What is difference between array and vector in c++?

1076


Why c++ is faster than java?

1111


What is insertion sorting?

1169


What is the use of pointer in c++ with example?

1085


what you know about c++?

1201


What is fixed in c++?

1082


What is the use of :: operator in c++?

1186


What is the need of a destructor? Explain with the help of an example.

1093


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

1146


What are special characters c++?

1088


What is constructor and destructor in c++?

1172


Is set c++?

1052


Why ctype h is used in c++?

995


What is the latest version on c++?

1186