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 do the keywords volatile and mean mutable?

1052


What is a memory leak c++?

1140


Explain the difference between c & c++?

1095


What is meant by a delegate?

1094


What is the difference between a pointer and a link in c ++?

1056


Where Malloc(), Calloc(), and realloc() does get memory?

1056


How a new operator differs from the operator new?

1124


How much do coding jobs pay?

1013


How can a struct in c++ differs from a struct in c?

1046


Is empty stack c++?

997


Why do we use the using declaration?

1174


When does a 'this' pointer get created?

1097


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4120


Describe the advantages of operator overloading?

1048


daily Routine of father

1412