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 / abhradeep chatterjee

all of you are correct. ya, structure is declared with the
keyword struct and structure
variables occupy individual memory location.But Unoin is
declared with the keyword union and its variables are
allocated to a memory at which the highest byte of the
variable which is declared.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many header files are in c?

994


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1073


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1397


Stimulate calculator using Switch-case-default statement for two numbers

2925


What is a char c?

998


what are bit fields? What is the use of bit fields in a structure declaration?

2059


What is #line in c?

970


How do you initialize pointer variables?

1039


What is a sequential access file?

1113


What is the basic structure of c?

1021


Function calling procedures? and their differences? Why should one go for Call by Reference?

1051


Why is it important to memset a variable, immediately after allocating memory to it ?

2008


What is getch () for?

1161


What is bubble sort technique in c?

935


List some basic data types in c?

979