LearnFrenzy
Sign in Take a free test

Functions and Default Arguments · Functions MCQ · Question 7

Function overloading is which kind of polymorphism? Answer, explanation & discussion

  • MCQ
  • Easy
  • 0 comments
  • Answer explained
  • Moderated community
Question 7 Back to Exercise

Function overloading is an example of…

  • A Run-time polymorphism
  • B Compile-time (static) polymorphism Correct
  • C Inheritance
  • D Encapsulation
Correct Answer: Option B

The compiler chooses the overload while compiling. Virtual functions provide run-time polymorphism.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links