Computer Programming MCQ Questions with Solutions
What does function overloading imply?
A) Two or more functions with same but different parameter list different with type of argument.B) Functions preceding with virtual keywords.
C) Functions inherited from base class to derived class.
D) None of these.
Answer & Description:
A) Two or more functions with same but different parameter list different with type of argument.Function overloading is compile time polymorphism in which 2 or more functions share the same name with different arguments and parameters in C++ oops.