If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
1069Post New C++ General Questions
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Explain how functions are classified in C++ ?
What is function prototyping?
What are c++ data types?
What is the difference between a declaration and a definition?
What is abstraction c++?
Refer to a name of class or function that is defined within a namespace?
What is a tree in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is #include iostream h in c++?
What is function prototyping? What are its advantages?
Does c++ vector allocate memory?
Differentiate between late binding and early binding.
Is c++ high level programming language?
How does the copy constructor differ from the assignment operator (=)?