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 an object in c++?
How do I tokenize a string in c++?
What is scope of a variable? (LOLZ)
What is the difference between structure and class?
What is the hardest coding language to learn?
How do you define a class in c++?
What are the differences between a struct and a class in C++?
Why is c++ awesome?
What information can an exception contain?
Can malloc be used in c++?
write a program to insert an element into an array
What is c++ runtime?