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

Answer Posted / nashiinformaticssolutions

 Structure: All members have their own memory location.
 Union: All members share the same memory location.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null equal to 0 in sql?

1137


Can we declare variables anywhere in c?

990


How do you determine the length of a string value that was stored in a variable?

1108


What are the advantages and disadvantages of a heap?

1196


The file stdio.h, what does it contain?

1144


Is that possible to store 32768 in an int data type variable?

1068


Can we change the value of static variable in c?

1005


What is the easiest sorting method to use?

1143


Explain the use of #pragma exit?

1163


Why doesnt the call scanf work?

1170


Define macros.

1253


Explain what is operator promotion?

1068


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1165


What does calloc stand for?

1147


Can you please explain the difference between exit() and _exit() function?

1014