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 is lambda in c++?
what are the iterator and generic algorithms.
How to demonstrate the use of a variable?
Does c++ support multilevel and multiple inheritances?
What does new return if there is insufficient memory to make your new object?
Define macro.
What is the sequence of destruction of local objects?
Is c++ the hardest language?
List the types of polymorphism in c++?
What is DlgProc?
Is recursion allowed in inline functions?
Define the operators that can be used with a pointer.
What is the full form of c++?
What is a pointer how and when is it used?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h