Object Oriented Programming Through C++ Feb 2022
Object Oriented Programming Through C++ Feb 2022
Or
2 a) Explain the key concepts of Object Oriented Programming. [7M]
b) Differentiate between C and C++. [7M]
}
main()
{
..
}
Complete the above program to find the average of marks for 10 students.
b) What is a Constructor? Discuss various constructors with examples. [7M]
7 a) What are the rules for Virtual functions? What is the importance of Virtual [7M]
Destructor?
b) Explain in detail how the members of class can be accessed using the pointers to [7M]
base class and derived class.
Or
8 a) Analyze the following code and find the output and justify your answer [7M]
Or
10 a) Discuss various exception handling mechanisms. [7M]
b) Implement function template to find a given element in the array. [7M]
Note : array may be int or float.
2 of 2
|''|'||||''|'''|||'|