Name at least three examples of unary operator that can be overloaded. If we are using
Fantastic news! We've Found the answer you've been seeking!
Question:
- Name at least three examples of unary operator that can be overloaded.
- If we are using an overloaded constructor to initialize data members of the class, then why do we have to define a set function as well. Technically, they are both performing the same operation.
- In “X+Y” expression, which operand invokes the overloaded + operator function
Related Book For
Systems Analysis and Design
ISBN: 978-1133274636
9th Edition
Authors: Shelly Cashman, Gary B. Shelly and Harry J. Rosenblatt
Posted Date: