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?
- All operators can be overloaded in C++.
- We can change the basic meaning of an operator in C++.
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
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers