In C++, which of the following operator cannot be overloaded?

In C++, which of the following operator cannot be overloaded? Correct Answer . [dot]

  • In C++ we can overload some operators like +, -, , -> etc. But we cannot overload any operators in it.
  • Some of the operators cannot be overloaded. These operators are like below? “.”
  1. (.) Member access or dot operator
  2. “?: ” Ternary or conditional operator
  3.  “::” Scope resolution operator
  4.  “.*” Pointer to member operator
  5.  “sizeof” The object size operator
  6. “typeid” Object type operator

These operators cannot be overloaded because if we overload them it will make serious programming issues.

Related Questions

Which of the following operator(s) cannot be overloaded?