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

What is unary operator? List out the different operators involved in the unary operator.

1007


What is the use of "new" operator?

1137


What is the latest c++ standard?

1153


Is ca high or low level language?

1086


What are files in c++?

1041


Explain how an exception handler is defined and invoked in a Program.

1180


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1136


What is static class data?

1066


What is the difference between struct and class?

1566


Is there a c++ certification?

1063


How does java differ from c and c++?

1004


What are namespaces in c++?

1100


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1120


How the endl and setw manipulator works?

1018


What is the best free c++ compiler for windows?

1112