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 |
How can a struct in c++ differs from a struct in c?
What size is allocated to the union variable?
What is a modifier in c++?
What is the best free c++ compiler for windows?
Is c++ fully object oriented?
Which programming language's unsatisfactory performance led to the discovery of c++?
What are the basics of local (auto) objects?
Is facebook written in c++?
Can constructor be private in c++?
What is the best book for c++ beginners?
How are virtual functions implemented in c++?
Explain "const" reference arguments in function?