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
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
Which c++ operator cannot overload?
What are libraries in c++?
What is string in c++ programming?
What does obj stand for?
Explain the register storage classes in c++.
What is constant in c++ with example?
What are c++ templates used for?
Is there finally in c++?
Is c++ vector dynamic?
Explain shallow copy?
Why iomanip is used in c++?
If I is an integer variable, which is faster ++i or i++?
What is stl containers in c++?
What are the general quetions are in DEna bank manager IT/System interviews?