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
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Write a program which uses functions like strcmp(), strcpy()? etc
Explain the isa and hasa class relationships.
Is dev c++ a good compiler?
What is the difference between public and private data members?
Why do we learn c++?
Why #include is used?
What is the type of 'this' pointer? When does it get created?
Difference between a copy constructor and an assignment operator.
What is problem with overriding functions?
Can we change the basic meaning of an operator in c++?
How many characters are recognized by ANSI C++?
What does the ios::ate argument do?
What are the differences between java and c++?
how to explain our contribution in the project?