C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 41)
41.
Which of the following operators cannot be overloaded?
[]
->
?:
*
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 2 of 2.

Ranjith Acharya said:   1 decade ago
What do you mean by overloading?

Surendra said:   1 decade ago
Ternary operators cannot be overloaded.

Swathi S said:   1 decade ago
Operators which cannot be overloaded
?: (conditional)
. (member selection)
.* (member selection with pointer-to-member)
:: (scope resolution)
sizeof (object size information)
typeid (object type information)


Post your comments here:

Your comments will be displayed after verification.