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 volatile and pragma? When they are used?
What is constructor in C++?
How do you print a string on the printer?
How would you use qsort() function to sort an array of structures?
Can java be faster than c++?
What is fflush c++?
What is function prototyping?
How many types of classes are there in c++?
Can we overload operator in c++?
What is flush programming?
What is the best free c++ compiler for windows?
What is using namespace std in cpp?