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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain terminate() and unexpected() function?

1167


What is the difference between an enumeration and a set of pre-processor # defines?

1457


Define the operators that can be used with a pointer.

1129


How can a struct in c++ differs from a struct in c?

1090


How do you clear a buffer in c++?

1009


What is bubble sort c++?

1068


What is set in c++?

1183


What is stack unwinding?

1209


What are single and multiple inheritances in c++?

1154


How to access a variable of the structure?

1144


Comment on c++ standard exceptions?

1132


How to declaring variables in c++?

1213


What is heap sort in c++?

1135


What does it mean to declare a member function as virtual?

1122


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

1186