Which of the following operators cannot be overloaded in C++? 

  • == 
  • :: 
  • ++
In C++, most of the operators can be overloaded with a few exceptions. Among the operators that cannot be overloaded are: the scope resolution operator ::, the member selection operators . and .*, and the ternary conditional operator ?:.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *