Btech All 3 Sem CPP and Object Oriented Programming Becs2212 2020
Btech All 3 Sem CPP and Object Oriented Programming Becs2212 2020
com
Registration No :
Q3 a) What is Inheritance? Explain Multiple and Multilevel Inheritance with suitable (5)
example.
b) Explain copy constructor with an example. (5)
Q4 a) Define the term Virtual Base class and its implementation in C++. How it is used (5)
in function Overloading?
b) What is class template? Write the syntax with an example. (5)
Q5 a) Write a program to read data from a file and then copy it to another file. (5)
b) Discuss the use of exceptional handling in programming. (5)
Q6 List out the rules of operator overloading. Write a program to overload “+” (10)
operator.
Q7 Define virtual function. How pure virtual function is differentiated from it? Explain (10)
with an example.
http://www.bputonline.com