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's c++ used for?

0 Answers  


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

0 Answers  


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

0 Answers  


What is the difference between C and CPP?

0 Answers   iNautix,


What are exceptions c++?

0 Answers  


What can I safely assume about the initial values of variables which are not explicitly initialized?

0 Answers  


What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,


what is Member Functions in Classes?

0 Answers  


What is the maximum value of a unsigned char a) 255 b) 256 c) 128

0 Answers  


What is the best c++ ide?

0 Answers  


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

0 Answers   TCS,


How is static data member similar to a global variable?

0 Answers  


Categories