Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

PURNEA COLLEGE OF ENGINEERING, PURNEA

1. How a function is invoked using pointers? With examples.

2. What do you mean by dynamic binding? How is it useful in OOPs?


3. What is the main advantage of passing argument by reference? When do we need to use
default argument in a function.
4. Write a program in C++ to find the area of the circle using constructor.
5. A friend function cannot be used to overload the assignment operator =. Explain why?
6. What is abstract class? Write a program to illustrate. Also outline the advantage of
abstract class.
7. What is a construct? Describe the type of constructor each with an example?
8. Differentiate between a class and object.
9. Write a C++ program to demonstrate example of hierarchical inheritance to get square
and cube of number.
10. Write a C++ program to define a class string and use overloaded == operator to compare
two strings.

You might also like