Professional Documents
Culture Documents
(5*2)=10
Group A:
(4*5)=200
Group B:
with example
6. overloading and function overriding
Write the difference between function
virtual function with example.
1 Why do we need virtual function? Define pure
Differentiate between Runtime and compile time polymorphism.
8. in a C++ program with example.
Describe the importance of Scope Resolution Operator
(210)-20
Group C:
different no. of arguments.
demonstrate function overloading using
10 a Write a program to Class D is inherited
inherited from class A. Class C
is inherited from class A.
b. Class B is data member 'm' of
D. Each class is having a public
is inherited from class B, C,
from class A. Class E derived class (E) object. '
Write a program to print
the value of 'm' using
Integer iype.
classes have three ditferent
abc. pqr. xyz. Inside 3
we