Which of the following statements are true regarding C++?

(a) Overloading a function gives the capability to an existing operator to operate on other data types.

(b) Inheritance in object-oriented programming provides support to reusability.

(c) When object of a derived class is defined, first the constructor of derived class is executed then constructor of a base class is executed.

(d) Overloading is a type of polymorphism.

Choose the correct option from those given below:

1
(a) and (b) only
2
(a), (b) and (c) only
3
(b) and (d) only
4
(b), (c) and (d) only
5
(c) and (d) only

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation