1.

Which of the following is correct about static polymorphism?(a) In static polymorphism, the conflict between the function call is resolved during the compile time(b) In static polymorphism, the conflict between the function call is resolved during the run time(c) In static polymorphism, the conflict between the function call is never resolved during the execution of a program(d) In static polymorphism, the conflict between the function call is resolved only if it requiredI had been asked this question in examination.My question comes from C++ Concepts topic in division Basics Concepts of C++ of C++

Answer»

Right ANSWER is (a) In static POLYMORPHISM, the CONFLICT between the function call is resolved during the compile TIME

Explanation: The conflict between which function to call is resolved during the compile time in static polymorphism i.e. before the execution of the program starts.



Discussion

No Comment Found

Related InterviewSolutions