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 |
Which is most difficult programming language?
When does a name clash occur in c++?
What is the difference between static global and global ?
Define a constructor?
Is multimap sorted c++?
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster
Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??
Explain deep copy?
Discussion on error handling of C++ .
What information can an exception contain?
Explain the use of vtable.
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.