Fill in the blanks: i. In C++, we can throw only ____________ error at a time. ii. ________functions can be preferred over macros. iii. ________ is a template data structure. iv. _________________ operator is used to signify the namespace? v. A __________________ function can access only static data members of a class. vi. ________ function is used to return total number of characters read during last input operation. vii. ______ keyword is used to access variable in namespace.
[7 marks]Answer following questions in brief : i. What is cin and cout? ii. What does it mean by inline function? iii. What is an object? iv. What is static member function? v. Define Abstract class. vi. What is the difference in using sizeof operator in Cand C++? vii. What do you mean by reference variable?
[7 marks]What is object-oriented programming? Explain all the features.
[7 marks]Differentiate between Pass by Value and Pass by Reference with example.
[7 marks]Explain prefix ++ and postfix ++ operator. How they can be overloaded? Explain with suitable example.
[7 marks]1. Write a sort note on data types available in C++. 2. Explain nesting of namespace with example.
[3 marks]Explain virtual function with suitable example.
[7 marks]1. Write a short note on friend function. 2. Differentiate between function template and class template.
[3 marks]Explain the exception-handling in C++ with suitable example.
[7 marks]What do you mean by STL? Explain all the type of containers in STL.
[7 marks]Explain the overloading of >> and << operators with suitable example. OR1
[7 marks]What is RTTI? Give suitable example.
[7 marks]Explain hybrid inheritance. Discuss virtual base class with example.
[7 marks]Explain MIL with suitable example.
[7 marks]Explain overloading of the = and [ ] operators using suitable examples.
[7 marks]Explain Type Conversion with suitable example.
[7 marks]What is manipulator? Explain with suitable example.
[7 marks]