Computer Science, asked by smdyaseen1382, 1 year ago

Unary and binary operator overloading in c++ example in

Answers

Answered by siddharthamondp7yj45
2
Whenever an unary operator is used, it works with one operand, therefore with the user defined data types, the operand becomes the caller and hence no arguments are required. ... You can find the source code of unary and binary operator overloading here.
Similar questions