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 the difference between set and map in c++?
What is buffering in c++?
What is a constructor in c++ with example?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
How many types of modularization are there in c++?
Explain overriding.
Why do we use setw in c++?
Which is the best c++ software?
Is atoi safe?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
Is c++ a dying language?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required