Assignment 1
Assignment 1
Paper: OOP
4. What is inline function? Why is inline function used in C++ program? Explain with
suitable example
5. What is a constructor? What are the characteristics of a Constructor? What are the
6. What is a destructor? What are the Characteristics of a destructor? Explain with suitable
examples
7. What do you in mean by friend function C++? Write the syntax of using friend function,
8. What is data hiding in C++? How data hiding is achieved and explain the various access