0
What would be the output ?
var x = 23; var y = 17; var z = (x %y)*6/4;
4 Answers
+ 9
There is no output.
0
9
0
It is 6 * 6/4 where first 6 comes from mod of two numbers. Then I think 6/4 will be evaluated first. Hence z=9
0
(23%17)=6*6=36/4=9;
var x = 23; var y = 17; var z = (x %y)*6/4;