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 object

Answer Posted / manish shikarbar

answer is :1

Example:

class Test
{
};

Test Obj;

int size = sizeof(Obj); // answer is 1

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between a constructor and a destructor in c++.

968


Can a new be used in place of old mallocq? If yes, why?

1038


Is it possible for a member function to delete the pointer, named this?

1085


Explain how overloading takes place in c++?

971


What is stl containers in c++?

990


What is the benefit of learning c++?

931


How do you clear a buffer in c++?

918


Explain this pointer?

1001


Evaulate: 22%5 a) 2 b) 4 c) 0

1035


How do you invoke a base member function from a derived class in which you have not overridden that function?

1071


What is setbase c++?

1052


What is the sequence of destruction of local objects?

922


What do you mean by translation unit in c++?

1280


Who discovered c++?

984


What is an adaptor class or wrapper class in c++?

1099