what is the order of initialization for data?
Answer Posted / avi
Data members of a class are initialized in the order they
are declared in class. in case class is derived from some
base class then the base class will be initialized first
followed by the derived class.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is the use of namespace std in C++?
Is swift faster than c++?
What are the rules for naming an identifier?
daily Routine of father
Differentiate between declaration and definition.
What is the c++ programming language used for?
When do we run a shell in the unix system?
Describe friend function & its advantages.
Is swift better than c++?
what is the difference between overloading & overriding? give example.
What is c++ map?
What is encapsulation in c++?
Does std endl flush?
How are the features of c++ different from c?
What is a local variable?