Answer the following questions:-
[7 marks]Write short note on member function and static function. (ii) Differentiate between pointer to object and call by reference.
[3 marks]Define following terms with example
[7 marks]Default parameter (ii) Local class (iii) typeid
[3 marks]Write down various types of constructors in C++ with the help of suitable example.
[7 marks]Differentiate between following :
[7 marks]call by reference and return by reference. (ii) const , volatile and static function.
[4 marks]Explain all types of inheritance along with access modifier with suitable example.
[7 marks]Compare function overloading and function overriding with the help of suitable example.
[7 marks]Differentiate between function template and class template along with example.
[7 marks]Write a program to create user define data type Rational {numerator, denominator} and overload <<, >> and + operator to read, print a rational number and add two rational number respectively.
[7 marks]Answer the following questions
[7 marks]Compare text file and binary file. (ii) Write down various file opening modes.
[3 marks]What is the need of exception handling? Explain try, catch and throw with the help of suitable example.
[7 marks]Answer the following questions
[7 marks]Explain namespace, nested namespace and unnamed namespace with the help of suitable example. (ii) Write an example of creating user define manipulator.
[3 marks]What is RTTI? Explain dynamic_cast and typeid with the help of suitable example.
[7 marks]Write down various applications of standard template library.1
[7 marks]Write down features of Object oriented programming.
[7 marks]Answer the following questions
[7 marks]Explain this pointer and virtual destructor in detail. (ii) Write down an example to overload ++ operator.
[3 marks]What is the importance of member initialization list and destructor? Explain with the help of suitable example.
[7 marks]Create a abstract class Shape having pure virtual function area ().Override area function in derived class Circle and Triangle. Demonstrate sample test cases in main function.
[7 marks]