Object Oriented Programming Using C++
Object Oriented Programming Using C++
Name : .....................
Part A
Answer any ten questions.
Each question carries 2 marks.
4. Explain the memory allocation of class data member and member function.
12. Define file mode and write the various file mode parameters.
13. Explain call by reference and return by reference with suitable examples.
22. What are the different data types available in C++ with suitable example?
23. (a) What is array of objects? (b) Write a program to find the difference of two complex
numbers using friend function?
24. a) Explain dynamic constructors with example? b) Write a program to implement matrix
addition using operator overloading?
Page 2/2