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
Difference between declaration and definition of a variable.
What does flush do?
Why would you use pointers in c++?
Can we run c program in turbo c++?
Explain differences between alloc() and free()?
Explain how functions are classified in C++ ?
What's the "software peter principleā?
How can a called function determine the number of arguments that have been passed to it?
Is vector a class in c++?
What is c++ manipulator?
How do you flush std cout?
What is the difference between #define debug 0 and #undef debug?
Explain about Garbage Collector?
what kind of projects are suitable for c and c++
Can you please explain the difference between using macro and inline functions?