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

whats the size of class EXP on 32 bit processor?
class EXP
{
char c1;
char c2;
int i1;
int i2;
char *ptr;
static int mem;
};

Answer Posted / sxx010100

20 bytes is right, but static is in data segment portion od
memory, not the heap.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the types of Member Functions?

1082


What do you understand by pure virtual function? Write about its use?

953


What is ios in c++?

1159


What is the best it certification?

1058


What is an iterator?

1140


What is virtual destructor? What is its use?

1004


What are containers in c++?

937


What is static in c++?

1006


What are special characters c++?

972


State the difference between delete and delete[].

1032


What would happen on forgetting [], while deallocating an array through new?

1029


What is difference between malloc()/free() and new/delete?

1114


Can java be faster than c++?

1108


What is an object in c++?

1147


Write a program which employs Recursion

1193