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

What is the difference between an enumeration and a set of pre-processor # defines?

0 Answers  


Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.

1 Answers  


What is private inheritance?

0 Answers  


reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 Answers  


How do you clear a set in c++?

0 Answers  






How to reduce a final size of executable?

3 Answers  


What is c++ virtual inheritance?

0 Answers  


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

0 Answers  


Is c or c++ more useful?

0 Answers  


How would you use qsort() function to sort an array of structures?

0 Answers  


What is the handle class?

1 Answers  


What are 2 ways of exporting a function from a dll?

0 Answers  


Categories