CJCoding With Joseph
← Back to Question List
C Code Walkthrough #12

Modulo Gives the Remainder

easyOperators

📄 Code

Read carefully — what does this print?
1#include <stdio.h>
2int main() {
3 int r = 17 % 5;
4 printf("%d\n", r);
5 return 0;
6}

🎯 Your Answer