A

Admin • 833K Points
Coach

Q. Which of the following is true about virtual functions in C++?

  • (A) They allow dynamic binding
  • (B) They cannot be overridden
  • (C) They must have a different return type
  • (D) They are not allowed in derived classes
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

Virtual functions allow dynamic (runtime) binding in C++.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.