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...


Diff: between this 2 classes in terms of memory
class A
{
int i;
char c;
double d;
};
class A
{
double d;
int i;
char c;
};
How it is calculating?



Diff: between this 2 classes in terms of memory class A { int i; char c; double d; };..

Answer / ashponni

Is the memory for double is assigned to int and char?

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More C Interview Questions

Does c have circular shift operators?

0 Answers  


What is c basic?

0 Answers  


what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175

5 Answers   Wipro,


char p="data"; printf(p);

2 Answers  


What are the uses of pre-processor directives?

2 Answers  


What is a #include preprocessor?

0 Answers  


can we print any string in c language without using semicolon(;)(terminator) in whole program.

11 Answers  


What is union and structure in c?

0 Answers  


List out few of the applications that make use of Multilinked Structures?

1 Answers   Accenture,


can we implement multi-threads in c.

0 Answers  


what is the difference between call by value and call by reference?

5 Answers   Genpact, Global Logic, Infosys,


How can you allocate arrays or structures bigger than 64K?

0 Answers  


Categories