Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.


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

Post New Answer

More C++ General Interview Questions

What is singleton pattern in c++?

0 Answers  


When does a name clash occur?

1 Answers  


What are the conditions that have to be met for a condition to be an invariant of the class?

1 Answers  


what is multi-threading in C++?

0 Answers  


What is the difference between public, private, and protected access?

0 Answers  






How to create a reference variable in C++

1 Answers  


What is the full form of c++?

0 Answers  


Define anonymous class.

0 Answers  


How do you differentiate between overloading the prefix and postfix increments?

0 Answers  


Can a constructor be private?

0 Answers  


Difference between overloaded functions and overridden functions

0 Answers  


what is the use of templates?

3 Answers  


Categories