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

Which uses less memory?
a)
struct astruct
{
int x;
float y;
int v;
};

b)
union aunion
{
int x;
float v;
};

c)
char array[10];

Answer Posted / gourav bhatt

Mr Ranjeet u r wron vecause ib ur case too the answer will
be "b" .thats gud that u find misktake in jaroosh example but
the anser is b coz the union has size 4 .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ the hardest programming language?

1075


How many types of comments are there in c++?

947


What is the difference between a declaration and a definition?

1044


What is c++ vb?

1031


Which compiler does turbo c++ use?

1026


How java is different from c and c++?

1158


What is a .lib file in c++?

943


What are the uses of pointers?

1023


What are c++ redistributables?

981


What do you mean by const correctness?

1034


Describe friend function & its advantages.

1093


Which operator cannot be overloaded c++?

972


What is microsoft c++ redistributable 2013?

1044


What are the advantages of using typedef in a program?

1103


What is a linked list in c++?

1003