Join Examsbook
1170 0

Q: Why that you cannot overload the scope resolution operator (::) ?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

The main reason why the (::) cannot be overloaded is that only operators that take in values as parameters can be overloaded. The scope resolution operator does not take a value as parameter.

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully