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 between structure and union?

Answer Posted / sevak.yatrik777

While structure enables us treat a number of different
variables stored at different in memory , a union enables us
to treat the same space in memory as a number of different
variables. That is a Union offers a way for a section of
memory to be treated as a variable of one type on one
occasion and as a different variable of a different type on
another occasion.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should I prototype a function?

1207


What are dangling pointers? How are dangling pointers different from memory leaks?

1327


What is the correct declaration of main?

1217


how to construct a simulator keeping the logical boolean gates in c

2262


What is data structure in c and its types?

1072


How can you access memory located at a certain address?

1124


What is a pointer on a pointer in c programming language?

1150


What is the difference between a free-standing and a hosted environment?

1152


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2190


Explain the priority queues?

1084


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1979


Explain the use of keyword 'register' with respect to variables.

1060


How many levels of pointers can you have?

1201


How can I copy just a portion of a string?

1318


How can I write a function analogous to scanf?

1191