Answer the following:
[ marks]What is the purpose of local class? (ii) Explain the use of “this” keyword in C++ programming language. (iii) State the types of constructors in C++?
[3 marks]Answer the following:
[ marks]What is RTTI? Explain with appropriate example. (ii) What is scope resolution operator? State its use.
[3 marks]What is object oriented programming? How is it different from procedure oriented programming? Discuss in brief, the main features of object oriented programming.
[7 marks]Distinguish between macro definition, normal function and inline function. What are the advantages and disadvantages of inline functions?
[7 marks]What is a friend class? Write a program to demonstrate its use.
[7 marks]What is a destructor? Explain its syntax and use along with an appropriate example.
[7 marks]What is operator overloading? Explain how friend functions can be used for overloading binary operators in C++ along with proper example.
[7 marks]Explain class templates and function templates in C++ along with appropriate example.
[7 marks]Write a short note on type conversion in C++ programming language.
[7 marks]Explain how exceptions are handled in C++ and the concept of re-throwing an exception along with appropriate example.
[7 marks]Explain the term “containership” and how is it implemented in C++ along with appropriate example.
[7 marks]What are virtual functions? Explain the use of virtual functions with appropriate example.
[7 marks]What is inheritance? Explain multiple and multi-level inheritance along with appropriate diagram and example.
[7 marks]What are manipulators? Explain any three manipulators available in C++ along with appropriate example.
[7 marks]What is a namespace? Explain different ways through which the members of a namespace can be accessed along with proper example.
[7 marks]Explain in detail how random file access is implemented in C++ along with appropriate example.
[7 marks]What is generic programming? Explain how STL is used to create generic programs.
[7 marks]