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 a sequence in c++?

0 Answers  


Which is not a valid keyword a) public b) protected c) guarded

0 Answers  


sizeof - is it a function or operator?

6 Answers   Honeywell,


What are exceptions c++?

0 Answers  


What is c++ mutable?

0 Answers  


What is the difference between containment and delegation?

0 Answers  


Why we use #include iostream in c++?

0 Answers  


What is an incomplete type in c++?

0 Answers  


What is class invariant in c++?

0 Answers  


What are advantages of c++?

0 Answers  


what is the order of initialization for data?

10 Answers   Amazon, TCS, Wipro,


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

0 Answers  


Categories