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

what is the defrenece between structure and union

Answer Posted / kapildalke

Thanks for these answer renuka..............
it means that
struct student
{
int i;
char a,b;
}
it occupy 4 bytes of memory..........
and in case of union
union student
{
int i;
char a,b;
}
it occupies only 2 byte memory.............

Am i write or wrong

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is getch?

1201


Write a program to check prime number in c programming?

1102


Is null always defined as 0(zero)?

1121


What is include directive in c?

1166


Explain the Difference between the New and Malloc keyword.

1146


What does the format %10.2 mean when included in a printf statement?

1659


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

1318


What is the acronym for ansi?

1051


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3318


how can I convert a string to a number?

1086


Who is the founder of c language?

1172


Where define directive used?

1101


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1222


Is null always equal to 0(zero)?

1040


about c language

2027