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
Is linux written in c or c++?
What are the benefits of operator overloading?
What is the type of this pointer in c++?
List the advantages of inheritance.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
How can we check whether the contents of two structure variables are same or not?
Are there interfaces in c++?
What is #include c++?
Why is "using namespace std;" considered bad practice?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
How do c++ struct differs from the c++ class?
Is c++ map a hash table?
Why is c++ so fast?
What is iomanip c++?
What is the difference between set and map in c++?