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 a empty class?

Answer Posted / mashal

Size of an empty class is 1 byte. It is non zero to ensure that the two different objects will have different addresses.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of object in c++?

1064


What is buffer and example?

951


Can we use clrscr in c++?

1033


What is #include c++?

1062


How many different levels of pointers are there?

1167


State the difference between pre and post increment/decrement operations.

1036


Const char *p , char const *p What is the difference between the above two?

1165


What are the different types of comments allowed in c++?

939


What is #include ctype h in c++?

1123


Explain dangling pointer.

1078


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

2318


What is dynamic and static typing?

1144


What do you mean by function overriding & function overloading in c++?

1110


Can static member variables be private?

1127


Explain stack & heap objects?

1001