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 do c++ struct differs from the c++ class?
How many namespaces are there in c++?
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is the difference between C and CPP?
What is c++ similar to?
What is std :: endl?
Can I create my own functions in c++?
What is object in c++ example?
What is c++ map?
How are the features of c++ different from c?
What is array in c++ example?
What you know about structures in C++?
0 Answers Agilent, ZS Associates,