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

How can a '::' operator be used as unary operator?

1 Answers  


What is the use of setfill in c++?

0 Answers  


1.what is the difference between software & package &application.

1 Answers   Infosys,


List out some of the OODBMS available?

1 Answers  


What is low level language in simple words?

0 Answers  


What is static class data?

0 Answers  


Can you explicitly call a destructor on a local variable?

0 Answers  


Can non graphic characters be used and processed in C++?

0 Answers   HCL,


Why is it necessary to use a reference in the argument to the copy constructor?

0 Answers  


When can I use a forward declaration?

0 Answers  


Why do we need pointers?

0 Answers  


Write a C++ Program to Generate Random Numbers between 0 and 100

1 Answers  


Categories