+ 1
What value is stored in the result variable?
int x = 8, y = 5; int result = x % y;
4 Answers
+ 13
The result will be 3
As the "%" operator returns the remainder as the answer !
+ 5
Janidu result is 3
It's remainder operator
+ 5
The variable result stores, the remainder of the division between 8 and 5.
Therefore it holds, 3..
+ 1
why dont you just run it and see it for you self?