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


Why can't we initialise member variable of a strucutre



Why can't we initialise member variable of a strucutre..

Answer / thunder

Because at the time of creation of structures, memory is not
allocate in the memory block.Memory will be allocated at the
time of creation of structure instance only, that's y we are
not able to initialize the structure members.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

What are all different types of pointers in c?

0 Answers  


what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);

10 Answers   IBM,


How many header files are in c?

0 Answers  


write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 Answers  


List out few of the applications that make use of Multilinked Structures?

1 Answers   Accenture,


Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


How can I get back to the interactive keyboard if stdin is redirected?

0 Answers  


Is it acceptable to declare/define a variable in a c header?

0 Answers  


What is assert and when would I use it?

0 Answers  


What kind of structure is a house?

0 Answers  


What is define c?

0 Answers  


What are variables and it what way is it different from constants?

0 Answers  


Categories