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 |
What is a sequence in c++?
Which is not a valid keyword a) public b) protected c) guarded
sizeof - is it a function or operator?
What are exceptions c++?
What is c++ mutable?
What is the difference between containment and delegation?
Why we use #include iostream in c++?
What is an incomplete type in c++?
What is class invariant in c++?
What are advantages of c++?
what is the order of initialization for data?
10 Answers Amazon, TCS, Wipro,
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)