A

Admin • 833K Points
Coach

Q. Which of the following is not correct for virtual function in C++?

  • (A) Virtual function is defined in base class.
  • (B) Virtual function should be accessed using pointers.
  • (C) Virtual function can be static.
  • (D) Must be declared in public section of class.
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.