1) Write a program in C++ illustrating the use of friend function.
2) Write a program in C++ to determine sum of digits of a number.
3)a) Write a program in C++ to determine roots of a quadratic equation.
b) Write a program in C++ to determine factorial of a number using recursion.
4)(a) Write a program in C++ to interchange an elements of two arrays.
(b) Write a program in C++ illustrating the use of Destructor function.
5)(a) Write a program in C++ which reads an unspecified number of numbers and then prints them together with their deviations from their mean.
b) Describe various types of base classes in C++ language?
6)(a) Write a program in C++ to open and close a file'
(b) Describe the term Array of Pointers with the help of a appropriate example.
7) Write brief notes on following:
(a) Inline Member functions.
(b) Pure Virtual functions.
(c) Polymorphism