Multiple inheritances concept


Q1. What do you mean by multiple inheritances? Write down a C++ code to explain this concept. Sample code must have at least 2 parent classes and one derived class.

Q2. What do you mean by friend function? Describe the requirement for using a friend function. Also write down a suitable example.

Q3. Describe how run-time polymorphism is accomplished in C++ by giving an appropriate code.

Q4. Illustrate the difference between opening a file with a constructor function and opening a file with the open() function? When is one favoured over the other?

Q5. In brief describe the given error handling functions:

a) eof()
b) fail()
c) bad()

Q6. Write down a C++ program which describes the application of multiple catch statements.

Q7. Differentiate between the overloaded functions and function templates.

Q8. Write down a function template for determining the minimum value contained in the array.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Multiple inheritances concept
Reference No:- TGS011446

Expected delivery within 24 Hours