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

Difference between declaration and definition of a variable.

1154


What does flush do?

989


Why would you use pointers in c++?

1151


Can we run c program in turbo c++?

1082


Explain differences between alloc() and free()?

1136


Explain how functions are classified in C++ ?

1231


What's the "software peter principleā€?

1151


How can a called function determine the number of arguments that have been passed to it?

1137


Is vector a class in c++?

1046


What is c++ manipulator?

988


How do you flush std cout?

1094


What is the difference between #define debug 0 and #undef debug?

1186


Explain about Garbage Collector?

1120


what kind of projects are suitable for c and c++

1049


Can you please explain the difference between using macro and inline functions?

1043