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

How the keyword struct is different from the keyword class in c++?

995


What is constructor c++?

1074


What is math h in c++?

1113


Which one is better- macro or function?

1139


What is the use of this pointer in c++?

979


What is a stack c++?

964


What is the difference between an array and a list?

988


What is the purpose of the "delete" operator?

1015


When does a 'this' pointer get created?

1043


How does java differ from c and c++?

941


What is helper in c++?

1047


What happens when the extern "c" char func (char*,waste) executes?

1035


What is the difference between delegation and implemented-in-terms-of?

970


Name the implicit member functions of a class.

1042


What is time_t c++?

1076