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

Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Is malloc memset faster than calloc?

0 Answers  


What is the purpose of 'register' keyword in c language?

0 Answers  


What is the best way to store flag values in a program?

0 Answers  


Write a program to swap two numbers without using a temporary variable?

0 Answers   Infosys,


hi how to convert program from notepad to turboc editor can u please help me

3 Answers  


C,c++, Java is all are structural oriented or procedure oriented language..?

6 Answers  


What is bubble sort in c?

0 Answers  


Why shouldn’t I start variable names with underscores?

0 Answers  


What are pointers really good for, anyway?

0 Answers  


How can you restore a redirected standard stream?

0 Answers  


Categories