The minus sign as binary operator
As a binary operator, the minus sign causes its right operand to be subtracted from its left operand (provided that the two operands evaluate to numeric values).
The following code subtracts the contents of the variable y from the contents of the variable x and assigns the result of the subtraction to the variable z.
After the third statement is executed, the variable z contains the value 1.
int x = 6;
int y = 5;
int z = x - y;