Which operator can not be overloaded in C++?



Which operator can not be overloaded in C++?..

Answer / hrpynux@gmail.com

The only C operators that can't be are . and ?: (and sizeof , which is technically an operator). C++ adds a few of its own operators, most of which can be overloaded except :: and . * .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are structures and unions?

1 Answers  


What is anonymous object in c++?

1 Answers  


what is difference between static and non-static variables

10 Answers  


class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected

3 Answers   Quark,


What is the difference between ++ count and count ++?

1 Answers  


What is the this pointer?

1 Answers  


What is token c++?

1 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  


What does ctime() do?

1 Answers  


Can we use pointers in c++?

1 Answers  


What is the best c++ ide?

1 Answers  


Can you please explain the difference between static and dynamic binding of functions?

1 Answers  


Categories