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

How many bit combinations are there in a byte?

13 Answers   Intel, Microsoft,


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

0 Answers  


What are the classes in c++?

0 Answers  


What is the full name of logo?

0 Answers  


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

0 Answers  






How a macro differs from a template?

0 Answers  


Difference between shift left and shift right?

1 Answers   Symphony,


What is the protected keyword used for?

0 Answers  


Explain "passing by value", "passing by pointer" and "passing by reference" ?

5 Answers  


write infinite loop in C++ which does not use any variable or constant?

3 Answers  


Why is c++ still best?

0 Answers  


what is data encapsulation in C++?

0 Answers  


Categories