+ 2
Why the answer is 9
Can you explain why? #include <stdio.h> int main() { int x = 9; x %= 11; printf("%d",x); return 0; } Answer: 9 https://code.sololearn.com/cQCc76YT7plT/?ref=app
2 Respuestas
+ 12
When we apply % (modulo) operator b/w two operands,
if the first operand is less then the second it directly gives the first operand has our answer
The same is happening here
9%11=9 (since 9<11 it directly gives 9 has the answer)
I hope u will understand!!
+ 1
Ahh okay thank you Chaithra Gowda👑