O'Reilly logo
  • You Wang thinks this is interesting:

Casting has higher precedence than arithmetic operations—any cast is applied to the value that immediately follows it. For example, if we write int value = (int) 11 * 0.25, the cast is no help: the literal 11 is already an integer, so the cast (int) has no effect.

From

Cover of Computer Science: An Interdisciplinary Approach

Note

casting has higher precedence than arithmetic operations.