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 command line arguments in C++? What are its uses? Where we have to use this?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What is a manipulative person?
What is a constructor and how is it called?
Describe exception handling concept with an example?
Why is c++ not purely object oriented?
What are separators in c++?
Which function should be used to free the memory allocated by calloc()?
Can a class be static in c++?
What does floor mean in c++?
What is abstraction in c++?
what is c++
What are enumerations?
What is a namespace in c++?
How can you link a c program with a c function?