Microsoft Consultant Question:

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

Microsoft Consultant Interview Question
Microsoft Consultant Interview Question

Answer:

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.


Previous QuestionNext Question
Tell me why is code optimization important?Tell me how does Microsoft classify security threats to its software?