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) Both 1 and 2
  • (B) Only 1
  • (C) Only 2
  • (D) Neither 1 nor 2
๐Ÿ’ฌ Discuss
โœ… Correct Answer: (C) Only 2

You must be Logged in to update hint/solution

๐Ÿ’ฌ Discussion

๐Ÿ“Š Question Analytics

๐Ÿ‘๏ธ
1097
Total Visits
๐Ÿ“ฝ๏ธ
3 y ago
Published
๐ŸŽ–๏ธ
Mr. Dubey
Publisher
๐Ÿ“ˆ
89%
Success Rate