Posts by lucas24 • 33 points
1 post
-
3
votes1
answer120
viewsQ: Why is an expression with rest and multiplication giving the wrong result?
Why is this code giving as a result -2 and not 7? #include <stdio.h> main() { printf("%i\n", 105 % 3*4 - 3*4 % (101 / 10)); system("pause"); }