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 / guest

Ans is B)

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is the function main() special?

1047


What is protected inheritance?

1010


What are formatting flags in ios class?

1195


What is code reusability in c++?

1183


What return value must conversion operators have in their declaration?

1031


Can we overload operator in c++?

981


What sorting algorithm does c++ use?

1083


Why do we need c++?

991


What is a dll entry point?

949


Is there any function that can skip certain number of characters present in the input stream?

1016


What are the extraction and insertion operators in c++? Explain with examples.

1105


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1039


What is the use of cmath in c++?

1009


What is prototype in c++ with example?

1055


Will c++ be replaced?

999