πŸ“Š C++
Q. Which is the correct syntax of defining a pure virtual function?
  • (A) virtual return_type func();
  • (B) virtual return_type func() = 0;
  • (C) virtual return_type func() pure;
  • (D) pure virtual return_type func();
πŸ’¬ Discuss
βœ… Correct Answer: (B) virtual return_type func() = 0;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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