Do we have to use initialization list in spite of the assignment in constructors?


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

Post New Answer

More C++ General Interview Questions

What is difference between class and function?

0 Answers  


What things would you remember while making an interface?

0 Answers  


A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

2 Answers  


What is size of Empty Class?

3 Answers   Persistent,


What is a c++ object?

0 Answers  






Why is c++ so fast?

0 Answers  


What is the difference between the compiler and the preprocessor?

0 Answers  


Describe the advantage of an external iterator.

0 Answers  


Define a pointer to a data member of the type pointer to pointer?

0 Answers  


What is auto type c++?

0 Answers  


Define Virtual function in C++.

0 Answers   iNautix,


Can we use resume in error handling i.e. in the catch block

5 Answers   Infosys,


Categories