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

What is static function and static class?

4 Answers   HCL,


How is new() different from malloc()?

0 Answers  


What do you mean by funtion prototype?

0 Answers  


What is #include sstream?

0 Answers  


How to create a reference variable in C++

1 Answers  


Will this c++ program execute or not?

0 Answers  


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

0 Answers  


What is the difference between stack and heap memory?

1 Answers  


When is dynamic checking necessary?

0 Answers  


What is a mutable member?

1 Answers  


Is c++ the most powerful language?

0 Answers  


Who invented turbo c++?

0 Answers  


Categories