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...

What is size of Empty Class?

Answer Posted / saket kale

when i tried to calculate the size of an empty class that
time i found that it takes 1 byte.which is the size of a
char.That might be the memory taken by the compiler for
storing the address of a empty class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do inline functions improve performance?

1134


Is ca high or low level language?

1136


Is vector a class in c++?

1102


Why are arrays usually processed with for loop?

1289


Which bit wise operator is suitable for turning off a particular bit in a number?

1166


Explain the difference between new() and malloc() in c++?

1177


Which of the following is evaluated first: a) && b) || c) !

2421


What is a vector c++?

1259


What is endianness?

1155


Can you please explain the difference between static and dynamic binding of functions?

1074


Can circle be called an ellipse?

1138


What new()is different from malloc()?

1166


Can java be faster than c++?

1205


Can the creation of operator** is allowed to perform the to-the-power-of operations?

1055


What is flag in computer?

1119