When must you use a constructor initializer list?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

Explain function prototypes in C++.

0 Answers   Aricent,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


Factory Method C++ – How to delete pointers returned by it

0 Answers  


What is an abstract class in C++

0 Answers   SwanSoft Technologies,


When must you use a constructor initializer list?

0 Answers   Amazon,






How to input string in C++

0 Answers  


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


What is C++11?

0 Answers   Adobe,


What is the difference between malloc, calloc and realloc?

0 Answers   Alter,


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

0 Answers   Amazon,


Discuss the role of C++ shorthands.

0 Answers   Adobe,


How can you force the compiler to not generate them?

0 Answers   Amazon,


Categories