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


Explain the difference between struct and union.

Answers were Sorted based on User's Feedback



Explain the difference between struct and union...

Answer / nashiinformaticssolutions

• Struct: All members occupy separate memory.
• Union: All members share the same memory.

Is This Answer Correct ?    0 Yes 0 No

Explain the difference between struct and union...

Answer / glibwaresoftsolutions

• Struct: All members occupy separate memory.
• Union: All members share the same memory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 Answers  


in linking some of os executables are linking name some of them

0 Answers   IBM,


What is hashing in c language?

0 Answers  


What is zero based addressing?

0 Answers  


which of the function operator cannot be over loaded a) <= b)?: c)== d)*

10 Answers   Cisco, CTS, Google, HCL, HP,


matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.

5 Answers   TCS,


In which layer of the network datastructure format change is done

0 Answers   Honeywell,


Explain what is the benefit of using enum to declare a constant?

0 Answers  


What is 02d in c?

0 Answers  


what defference between c and c++ ?

6 Answers  


Is c still relevant?

0 Answers  


What is the use of in c?

0 Answers  


Categories