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 this class
class size
{
public:
char data1;
double d;
int data2;
char data3;
double data4;
short data5;
};

please explain the padding for these double variables.

Answer Posted / lakshmi sahu

22

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the prototype of printf function?

1234


What is microsoft c++ redistributable?

1146


Can we get the value of ios format flags?

1183


Why cout is used in c++?

1075


What is scope resolution operator in c++ with example?

1086


What is array in c++ pdf?

1283


Is there finally in c++?

1148


What are activex and ole?

1110


Explain bubble sorting.

1142


Write a note about the virtual member function?

1110


What is a unnitialised pointer?

1138


Does c++ support exception handling?

1111


Can you overload the operator+ for short integers?

1086


Why #include is used?

1118


Should you pass exceptions by value or by reference?

1182