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 difference b/w Structure & Union?

Answer Posted / raj kumar

struct can hold multiple data types.
Like u can define a date structure....
but union can multiple data types which includes struct also

union x
{
int x;
struct
{
...
...
}
}

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to initialize a variable at the time it was declared?

1220


In a byte, what is the maximum decimal number that you can accommodate?

1142


Why we use conio h in c?

1242


What is the -> in c?

1018


What does return 1 means in c?

1073


What is pointer & why it is used?

1122


Explain what will the preprocessor do for a program?

1072


How do you sort filenames in a directory?

1185


What are linker error?

1096


Explain how can I prevent another program from modifying part of a file that I am modifying?

1094


What is c language & why it is used?

1116


Can i use “int” data type to store the value 32768? Why?

1192


What are the two types of structure?

1093


Write a program to know whether the input number is an armstrong number.

1128


Explain how are 16- and 32-bit numbers stored?

1273