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
Do we have to use initialization list in spite of the assignment in constructors?
What jobs can you get with a c++ certification?
What are arrays c++?
Write about the scope resolution operator?
Write a program which employs Recursion
What are c++ templates used for?
What is data structure in c++?
Describe protected access specifiers?
Define token in c++.
What do c++ programmers do?
Define Virtual function in C++.
What is the auto keyword good for in c++?
What do you mean by early binding?
Define a nested class. Explain how it can be useful.
Is it possible to write a c++ template to check for a function's existence?