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 jump statement in C++?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is pointer -to-members in C++? Give their syntax?
What does new do in c++?
What are move semantics?
What is data type in c++?
What is c++ used for in games?
What is an adaptor class in c++?
What are literals in C++?
Is swift better than c++?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Explain how to initialize a const member data.