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.

Answer Posted / nashiinformaticssolutions

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to identify if a given binary tree is balanced or not.

1166


What are the standard predefined macros?

1148


In C programming, what command or code can be used to determine if a number of odd or even?

1061


What is difference between class and structure?

1117


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2681


What are the functions to open and close file in c language?

1207


Why is c called c not d or e?

1101


What is hungarian notation? Is it worthwhile?

1227


What is sizeof array in c?

1062


Is sizeof a keyword in c?

974


a c code by using memory allocation for add ,multiply of sprase matrixes

2807


Is c procedural or object oriented?

1024


What is an endless loop?

1280


Explain what will the preprocessor do for a program?

1072


Did c have any year 2000 problems?

1112