Should a constructor be public or private?


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

Post New Answer

More C++ General Interview Questions

Which software is best for programming?

0 Answers  


What should main() return in c and c++?

0 Answers  


Where and why do I have to put the "template" and "typename" keywords?

0 Answers  


When do we run a shell in the unix system?

0 Answers  


What is constructor and destructor in c++?

0 Answers  






What are move semantics?

0 Answers  


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

0 Answers  


Write a C++ Program to check whether a number is prime number or not?

0 Answers   IBS,


Can you use the function fprintf() to display the output on the screen?

0 Answers  


Explain what are single and multiple inheritances in c++?

0 Answers  


What happens if an exception is throws from an object's constructor and from object's destructor?

3 Answers   TCS,


What are function poinetrs? where are they used?

1 Answers   CTS,


Categories