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 declare data member of class auto register or
extern



why can't we declare data member of class auto register or extern..

Answer / kavitha shetty

since data members gets memory allocated through object not
individual..so always memory allocated for object...
otherwise u might get error like illegal storage class

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More C++ General Interview Questions

Array base access faster or pointer base access is faster?

0 Answers  


What is a template in c++?

3 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


Is recursion allowed in inline functions?

0 Answers  


What does int * mean in c++?

0 Answers  


How do you allocate and deallocate memory in C++?

1 Answers  


What are different types of polymorphism supported by C++

2 Answers   CA, GameLoft,


Why did you leave your last job?

2 Answers  


What is a buffer c++?

0 Answers  


When do we run a shell in the unix system?

0 Answers  


Can a class be static in c++?

0 Answers  


What is name mangling?

3 Answers  


Categories