What is a constructor initializer list and when we use
constructor initializer list?
Answer Posted / mahesh
The main use of constructor is to initialize object.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can we specify variable field width in a scanf() format string? If possible how?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
Why is it called c++?
What is a try block?
Which c++ compiler is best?
What is the c++ code?
What are the various oops concepts in c++?
What is a c++ object?
What's the best free c++ profiler for windows?
Why is c++ called oops?
Is swift faster than go?
How the endl and setw manipulator works?
Are strings mutable in c++?
How is static data member similar to a global variable?
What is the best c++ book for beginners?