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 the size of class

Answers were Sorted based on User's Feedback



What is the size of class..

Answer / sagar

there is no size for class . class is a blue print it s not hold any memory but object can hold the memory .................

Is This Answer Correct ?    0 Yes 1 No

What is the size of class..

Answer / nagesh

To find the size of class ...find size of the object of that
class.

It will be 1.

Is This Answer Correct ?    1 Yes 3 No

What is the size of class..

Answer / ashok

one byte

Is This Answer Correct ?    4 Yes 7 No

What is the size of class..

Answer / ram

size of empty class object will be one byte.
When the class is with member variables and virtual member
fuction the size of the object will be depends on padding.
ex:
class Trial
{
public:
virtual void func() {};
char c;
};
printf("SizeofTrial: %d\n", sizeof(Trial));
SizeofTrial: 8

Is This Answer Correct ?    4 Yes 8 No

What is the size of class..

Answer / ajay senwal

Class size is one factor to consider when evaluating a
school’s effectiveness. But small class size alone does not
ensure a good education. The quality of the teaching, the
school leadership, the size of the school, the amount of
parent involvement and other factors are important to
consider, too

Is This Answer Correct ?    1 Yes 10 No

What is the size of class..

Answer / maneesh

Size of class is size of member variables plus virtual
functions used in class. For each virtual function it takes
2 byte for setting the Vptr table.

Is This Answer Correct ?    2 Yes 13 No

What is the size of class..

Answer / ok

unlimited

Is This Answer Correct ?    2 Yes 31 No

What is the size of class..

Answer / sivaraman

class has no size.

Is This Answer Correct ?    4 Yes 58 No

Post New Answer

More MFC Interview Questions

what is the use of CCmdTarget?

4 Answers   Siemens,


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


What is the use of CObject::Dump function ?

4 Answers  


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


Explain about MDI and CMultiDocTemplate ?

2 Answers  


If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)

2 Answers   Invensys,


1)dynamic creation of a Button ?

2 Answers   TCS,


What function is used to retrieve the currently selected index in a list box?

2 Answers  


Categories