C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
Write a C++ Program to Display Number (Entered by the User).
When would you choose to return an error code rather than throw an exception?
Explain the FOR loop with a help of a code.
How to convert integer to string in C++
What are the different scope C++ provide ?
Explain what happens when an exception is thrown in C++.
Write a C++ Program to find Square Root of a number using sqrt() function.
Explain encapsulation in C++.
What is latest update of C++ ?
What are the advantages/disadvantages of using inline and const?
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?