...
In C89 (and historical K&R implementations), the meaning of the remainder operator for negative arguments was implementation-defined, but was fixed in the C99 Standard.
...
...
In C89 (and historical K&R implementations), the meaning of the remainder operator for negative arguments was implementation-defined, but was fixed in the C99 Standard.
...