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

Write a program that his output 1 12 123

0 Answers  


Write a C program to print 1 2 3 ... 100 without using loops?

15 Answers   Hindalco,


print 1-50 with two loop & two print Statement

2 Answers  


HOW DO YOU HANDLE EXCEPTIONS IN C?

2 Answers   AppLabs,


Difference between pass by reference and pass by value?

0 Answers   TCS, TISL,


What does a pointer variable always consist of?

0 Answers  


main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above

6 Answers  


program to find the roots of a quardratic equation

1 Answers  


Can a pointer point to null?

0 Answers  


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

0 Answers   Celstream,


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,


What will be the output of x++ + ++x?

20 Answers   MBT, Religare,


Categories