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 static function and static class?
How is new() different from malloc()?
What do you mean by funtion prototype?
What is #include sstream?
How to create a reference variable in C++
Will this c++ program execute or not?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What is the difference between stack and heap memory?
When is dynamic checking necessary?
What is a mutable member?
Is c++ the most powerful language?
Who invented turbo c++?