C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 37)
37.
Which of the following is correct about the statements given below?
  1. All operators can be overloaded in C++.
  2. We can change the basic meaning of an operator in C++.
Only I is true.
Both I and II are false.
Only II is true.
Both I and II are true.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
20 comments Page 2 of 2.

Sekhar said:   1 decade ago
Some of the operators not possible to overload ex: #, ##
We cannot change the meaning of the opeator, we can define behavior

Shivam said:   1 decade ago
We can easily change the meaning of an operator in C++ but don't do so because its not desireable.

Alok kumar said:   1 decade ago
Only we can increase the function of operator not change the basic meaning of operator.

Ankit Dubey said:   1 decade ago
But we can change the basic meaning of the operator which to be overloaded.

Amit Kumar Singh said:   1 decade ago
We can't change the basic meaning of an operator which to be overloaded.

Sandip Shelke said:   1 decade ago
Some of the operator can not be overloaded such as ?, :, ::.

Bharat said:   10 years ago
I think we can change the meaning of any operator. Can't we?

Will said:   4 years ago
Yes, we can change basic meaning by operator overloading.
(5)

Mayur Fadadalia said:   1 decade ago
We can easily change the behavior of operator in c++.

Ansari Arsalan Zakir said:   4 years ago
Please explain the answer clearly.


Post your comments here:

Your comments will be displayed after verification.