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

How many types of errors are there in c language? Explain

926


Write a program to print fibonacci series without using recursion?

1066


How can I insert or delete a line (or record) in the middle of a file?

977


why return type of main is not necessary in linux

2043


What do you understand by friend-functions? How are they used?

1157


write a c program to find the sum of five entered numbers using an array named number

2076


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3475


Explain the meaning of keyword 'extern' in a function declaration.

1114


Can 'this' pointer by used in the constructor?

1044


How do you search data in a data file using random access method?

1255


Are enumerations really portable?

978


Write a program to print numbers from 1 to 100 without using loop in c?

1027


explain what is an endless loop?

1033


What language is c written?

974


What is structure padding in c?

1058