Google News
logo
CPP - Quiz(MCQ)
Which of the following is a static polymorphism mechanism in C++?
A)
Templates
B)
Function overloading
C)
Operator overloading
D)
All of the above

Correct Answer :   All of the above


Explanation : All the options mentioned above uses static polymorphism mechanism. As the conflicts in all these types of functions are resolved during compile-time.

Advertisement