CC-16: INTRODUCTION TO C++ Year: 2006 TEE: December Time 2 Full Marks 75 Question Number 1 is compulsory. Answer any three questions from the rest.Use C++ wherever necessary.
Q.1(a): Write a function to swap the values of two integer variable. Use "call by reference to pass parameters.
| Q.1(b): Write the syntax for defining a class. Also, write syntax for declaring an object of a class.: [6] Q.1(c): Write a programe for the addition of two matrices. Define necessary classes.: [7] Q.1(d): Explain the different types of inheritance. Give an example for any one of the types explained.: [7]
home || Next >> |