Home » Interview » Technology

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

Correct Answer: The main reason why the scope resolution operator (::) 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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion