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?

Answer Posted / ashponni

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

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is called object oriented language?

1075


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1043


What is the difference between the expression “++a” and “a++”?

1236


How many loops are there in c?

1115


Explain what is the advantage of a random access file?

1126


int i=10; printf("%d %d %d", i, i=20, i);

1626


What are the similarities between c and c++?

1080


Explain how can you restore a redirected standard stream?

1102


What are nested functions in c?

1031


What are the differences between new and malloc in C?

1154


How can you increase the allowable number of simultaneously open files?

1165


What is header file definition?

1089


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1094


How can you determine the size of an allocated portion of memory?

1315


Is c easier than java?

1086