Arithmetic operators

Arithmetic operators apply standard mathematical operations to their operands.

# Notes

The unary minus invokes undefined behavior due to signed integer overflow when applied to INT_MIN, LONG_MIN, or LLONG_MIN, on typical (2’s complement) platforms.

In C++, unary operator + can also be used with other built-in types such as arrays and functions, not so in C.

Possible output:

# See also