R

Ram Sharma • 193.86K 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: 29
  • Filed under category C++

Explanation by: Ram Sharma
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.


Question analytics