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
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
State the difference between pre and post increment/decrement operations.
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is general format for a prototype?
How to declare an array of pointers to integer?
What is srand c++?
Carry out conversion of one object of user-defined type to another?
What is the use of string in c++?
What is the sequence of destruction of local objects?
Why ctype h is used in c++?
What is a far pointer? where we use it?
What is a dll entry point?
What is the best ide for c++?
What is token c++?
Specify some guidelines that should be followed while overloading operators?