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

Which format specifier is used for printing a pointer value?

1007


describe private access specifiers?

1133


What does namespace mean in c++?

1035


What is the use of 'this' pointer?

1206


What is a memory leak c++?

1061


What do you mean by function and operator overloading in c++?

990


What is scope in c++ with example?

1045


Can member functions be private?

958


Is C++ case sensitive a) False b) Depends on implementation c) True

1017


Does c++ support multilevel and multiple inheritances?

948


Is c++ the most powerful language?

1002


Explain the purpose of the keyword volatile.

1103


what are the types of Member Functions?

1082


What are the two types of comments, and how do they differ?

1050


Describe linkages and types of linkages?

942