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

What do you understand by zombie objects in c++?

1095


What is the difference between public, private, and protected access?

1063


What is the basic concept of c++?

1007


How is computer programming useful in real life?

1055


Why do we use templates?

1042


Explain stack & heap objects?

1037


What is implicit pointer in c++?

1074


What is functions syntax in c++?

1131


What is the difference between structures and unions?

1056


write a programme to get a character and thier ASCII value

3041


What kind of problems can be solved by a namespace?

1090


What are member functions used in c++?

1137


How const int *ourpointer differs from int const *ourpointer?

1122


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

1062


Define a constructor?

1045