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 Virtual Inheritance?

7 Answers   Amazon, Wipro,


Do class declarations end with a semicolon?

0 Answers  


How many bit combinations are there in a byte?

13 Answers   Intel, Microsoft,


Is there any difference between int [] a and int a [] in c++?

0 Answers  


What is function prototyping?

0 Answers  






Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


What are the five basic elements of a c++ program?

0 Answers  


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

0 Answers  


Which is best c++ or java?

0 Answers  


Explain mutable storage class specifier.

0 Answers  


What is null pointer and void pointer and what is their use?

0 Answers  


Mention the ways in which parameterized can be invoked. Give an example of each.

0 Answers  


Categories