Can a constructor be private?


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

Post New Answer

More C++ General Interview Questions

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

0 Answers  


Differentiate between realloc() and free().

0 Answers  


How const functions will be treated by compiler?

3 Answers   Symphony,


Should I learn c or c++ or c#?

0 Answers  


What will the line of code below print out and why?

0 Answers  


Explain the extern storage classes in c++.

0 Answers  


How can you link a c program with a c function?

0 Answers  


Compare compile time polymorphism and Runtime polymorphism

1 Answers  


What are the weaknesses of C++?

1 Answers  


Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].

1 Answers  


What is else syntax in c++?

0 Answers  


Why should you learn c++?

0 Answers  


Categories