πŸ“Š C++
Q. What is the syntax to override the + operator for class A?
  • (A) int +(arguments){}
  • (B) int [+](arguments){}
  • (C) A operator+(arguments){}
  • (D) A operator[+](arguments){}
πŸ’¬ Discuss
βœ… Correct Answer: (C) A operator+(arguments){}

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
247
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Dharmendra Sir
Publisher
πŸ“ˆ
82%
Success Rate