Function overloading is an example of _____?

FPSC Past Papers / All - Multiple-choice practice

فنکشن اوورلوڈنگ _____ کی ایک مثال ہے؟

  1. A. None of these
  2. B. Inheritance
  3. C. Polymorphism
  4. D. Classes

Correct answer

Polymorphism

Explanation

Explanation Function overloading allows multiple functions with the same name but different parameters. It is a type of compile-time polymorphism , enabling code flexibility and readability.

Continue with All MCQs, explore all FPSC Past Papers topics, or try the All practice quiz.

More All questions

Found an error? Report a correction with this page URL and a supporting source.