πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Only 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate