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
What are maps in c++?
What is static function? Explain with an example
Describe new operator and delete operator?
What is a hash function c++?
What is the array and initializing arrays in c++?
How should runtime errors be handled in c++?
When is the copy constructor called?
What is pointer in c++ with example?
what Is DCS ? what i will get benefit when i did?
Write a c program for binary addition of two 8 bit numbers.
Is empty stack c++?
Describe the syntax of single inheritance in C++?
Explain selection sorting?
What is long in c++?
What are the various operations performed on stack?