what is the order of initialization for data?
Answer Posted / nilay
all the static memebers are created at the time of class
definition and rest all non static memebers are created
when object is created of that class. member functions are
also create in memory when class is defined. (However only
single copy of static data members and functions is created)
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do you save a c++ program?
what is a reference variable in C++?
Why c++ is created?
What is endl c++?
What is class syntax c++?
What are member functions used in c++?
What do you mean by translation unit in c++?
Explain friend class?
What is the use of seekg in c++?
Explain the purpose of the keyword volatile.
What is polymorphism in c++? Explain with an example?
Mention the ways in which parameterized can be invoked. Give an example of each.
What are c++ stream classes?
Who made c++?
Explain the virtual inheritance in c++.