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 is problem with Runtime type identification?

2 Answers  


which operator is used for performing an exponential operation a) > b) ^ c) none

0 Answers  


When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?

1 Answers   Microsoft,


What is the role of copy constructor in copying of thrown objects?

0 Answers  


Explain the uses oof nested class?

0 Answers  






What do you mean by pure virtual functions in C++? Give an example?

1 Answers  


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

0 Answers  


What is pointer in c++ with example?

0 Answers  


I need to find a specific string between two strings how do I do it?

1 Answers   Infosys,


Explain the need for "Virtual Destructor"?

2 Answers   Infosys,


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

0 Answers  


Explain data encapsulation?

0 Answers  


Categories