In what situations do you have to use initialization list rather than assignment in constructors?


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

Post New Answer

More C++ General Interview Questions

Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.

4 Answers   Microsoft,


Explain the isa and hasa class relationships. How would you implement each?

0 Answers  


In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 Answers  


What is linked list in c++?

0 Answers  


Which programming language is best to learn first?

0 Answers  






Floating point representation and output seems to be compiler dependent?

1 Answers  


Types of storage and scope of each type

2 Answers   CA,


Is there a sort function in c++?

0 Answers  


Differentiate between a pointer and a reference with respect to c++.

0 Answers  


What is an explicit constructor?

1 Answers  


Explain the difference between abstract class and interface in c++?

0 Answers  


What is the use of bit fields in structure declaration?

0 Answers  


Categories