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 / renuka

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

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best style for code layout in c?

1061


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

2150


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

2010


c program to compute AREA under integral

2348


Is fortran faster than c?

993


What is restrict keyword in c?

1060


Is there any demerits of using pointer?

1024


How can I manipulate strings of multibyte characters?

1091


What are the back slash character constants or escape sequence charactersavailable in c?

1139


What are the __date__ and __time__ preprocessor commands?

1054


Difference between Function to pointer and pointer to function

1032


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1213


Why is c called "mother" language?

1238


Explain how can I read and write comma-delimited text?

1123


How can a process change an environment variable in its caller?

1148