Question: what is the difference between unary and binary operator overloading?
Answer: Difference between overloading Unary and Binary Operators in C++ ... Unary operators can be overloaded as ordinary functions that take a single argument of class or reference to class type. Binary operators can be overloaded as ordinary functions that take one or both arguments of class or reference to class type.