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
Do vectors start at 0?
How should a contructor handle a failure?
What is the use of vtable?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
Can we use this pointer inside static member function?
What is the best way to take screenshots of a window with c++ in windows?
what are Operators and explain with an example?
What is function prototyping?
Differentiate between a constructor and a destructor in c++.
How do you declare a set in c++?
What is the use of namespace std in C++?
Is swift faster than c++?
What is meant by iomanip in c++?
What is the use of ::(scope resolution operator)?
Does c++ support multilevel and multiple inheritances?