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

Explain the operation of overloading of an assignment operator.

1173


What is a loop? What are different types of loops in c++?

1132


what does the following statement mean? int (*a)[4]

1078


Explain the difference between new() and malloc() in c++?

1131


Explain what data encapsulation is in c++?

1102


What are friend functions in C++?

1066


What are the various access specifiers in c++?

1034


Which operator cannot be overloaded c++?

1016


Write a c program for binary addition of two 8 bit numbers.

4123


Explain the use of vtable.

1088


How many different levels of pointers are there?

1213


Differentiate between a copy constructor and an overloaded assignment operator.

1084


How is new() different from malloc()?

1134


What does int * mean in c++?

1231


What is the use of :: operator in c++?

1127