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

Can I run c program in turbo c++?

1083


How do you save a c++ program?

1086


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

1114


what is the difference between overloading & overriding? give example.

1271


Why ctype h is used in c++?

992


What is the purpose of template?

1169


Why is c++ still best?

1025


When does a name clash occur in c++?

1215


Which operations are permitted on pointers?

1043


Specify different types of decision control statements?

917


What is iterator c++?

1039


Differentiate between C and C++.

1325


What is the use of endl in c++ give an example?

1214


What is the operator in c++?

1177


When can I use a forward declaration?

1145