What is a constructor initializer list and when we use
constructor initializer list?
Answer Posted / deep
There is couple special case when you need mandatory
constructor initialization list.
a. To initialise a const
b. To initialise a reference
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Explain terminate() and unexpected() function?
What do you mean by translation unit?
What do you understand by a pure virtual member function?
Is there any difference between int [] a and int a [] in c++?
What are default parameters? How are they evaluated in c++ function?
What happens if a pointer is deleted twice?
Explain queue. How it can be implemented?
What is the latest c++ standard?
What is lvalue?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is the use of endl in c++ give an example?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Can I learn c++ as my first language?
Is java as fast as c++?
If I is an integer variable, which is faster ++i or i++?