0

Modulo Operator in print statement ???

How to get modulo operator - % in print statement in C

21st Mar 2021, 10:14 AM
AMAN GUPTA
AMAN GUPTA - avatar
2 Answers
+ 1
Where do you see a problem? Try for example this: int n = 5; printf("for n = %d\n",n%2);
21st Mar 2021, 10:24 AM
JaScript
JaScript - avatar