Overloaded operators
An [overloaded operator] can be used on more than one data type, or represents a different action depending on the context. For example, if your language lets you use "+" for adding numbers and concatenating strings, then one would say that the "+" operator is overloaded.
- Task
Demonstrate overloaded operators in your language, by showing the different types of data they can or cannot operate on, and the results of each operation.