I came across a statement that has left my head confused.
Assume x >= 0
(x - 1 ? 16:11)
Apparently this code has the same response as
(x > 1 ? 16:11)
Can someone explain how the minus one works? I thought that conditional operators had to provide a true or false result. I don't understand how an integer can fit into a conditional operator.