what is the order of initialization for data?

Answer Posted / g. maheshwari

The member and base classes are initialized in the order they appear in the class definition, not the order they appear in initialization list.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are function prototypes?

964


What does the ios::ate argument do?

904


What is private public protected in c++?

738


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1982


When do you call copy constructors?

866


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

815


What does n mean in c++?

836


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3577


Difference between Abstraction and encapsulation in C++?

818


How to get the current position of the file pointer?

775


What are disadvantages of pointers?

792


Difference between pointer to constant vs. Pointer constant

811


What is recursion?

1195


Explain the concept of copy constructor?

801


Explain the difference between class and struct in c++?

791