This statement...


int x = (14 % 6);

...assigns x to the remainder of fourteen divided by six. Therefore, x == 2.