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 jump statement in C++?

0 Answers   Ericsson,


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


What is pointer -to-members in C++? Give their syntax?

0 Answers   Honeywell, Zomato,


What does new do in c++?

0 Answers  


What are move semantics?

0 Answers  


What is data type in c++?

0 Answers  


What is c++ used for in games?

0 Answers  


What is an adaptor class in c++?

0 Answers  


What are literals in C++?

0 Answers   Wipro,


Is swift better than c++?

0 Answers  


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


Explain how to initialize a const member data.

0 Answers  


Categories