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
What do you mean by friend class & friend function in c++?
Should you pass exceptions by value or by reference?
Write about the various sections of the executable image?
Do class declarations end with a semicolon?
What is c++ and its uses?
What is a rooted hierarchy?
What is function overloading in C++?
Is it possible to have a recursive inline function in c++?
Differentiate between the manipulator and setf( ) function?
Explain dangling pointer.
Write bites in Turbo c++ Header ("Include") Files.
Is multimap sorted c++?
What's the most powerful programming language?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Can we specify variable field width in a scanf() format string? If possible how?