3 ms·
This isn't correct, section 6.5.5 states merely that "The operands of the % operator shall have integer type."
by shric 6y ago
This isn't correct, section 6.5.5 states merely that "The operands of the % operator shall have integer type."
- foldr 6y agoAh, my bad, it seems this was the case for K&R C but the behavior was since standardized.