Computer Science, asked by rajawat11, 10 months ago

find the output int y=4, y*=y++*++y%2 system.out.println("final value="+y)​
I have been asking for a long time please answer with explanation

Answers

Answered by swarnankabiswas
1

Answer:

final value=0

Explanation:

y=4;

y*=y++*++y%2

y=y*y++*++y%2

y=4*4*6%2

y=16*0

y=0

HOPE THIS HELPS!!!!

Similar questions