give the output of Java program
if X=6
X=++X*++X%4;
Answers
Answered by
0
x=7*8%4
x=7*0
x=0 will be ur answer because mod dives us remainder
x=7*0
x=0 will be ur answer because mod dives us remainder
Answered by
0
X = 6
So,
X = ++X*++X%4;
And the output will be,
6=5*5%4
6=25%4
6=1
So,
X = ++X*++X%4;
And the output will be,
6=5*5%4
6=25%4
6=1
themonotonuspan:
Please mark as brainliest
Similar questions