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 is a class template in c++?

1017


What is a responder chain?

1020


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3880


Explain the register storage classes in c++.

1158


List the types of polymorphism in c++?

1061


What is late binding c++?

936


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

1122


Describe Trees using C++ with an example.

1099


What is lambda expression c++?

1011


What is buffering in c++?

1022


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

970


What is constructor in C++?

1024


Tell me can a pure virtual function have an implementation?

979


What is endl?

1096


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

1328