R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following is true about pure virtual functions?
1) Their implementation is not provided in a class where they are declared.
2) If a class has a pure virtual function, then the class becomes abstract
class and an instance of this class cannot be created.

  • (A) Only 1
  • (B) Only 2
  • (C) Both 1 and 2
  • (D) Neither 1 nor 2
  • Correct Answer - Option(B)
  • Views: 119
  • Filed under category C++

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.


Question analytics