Computer Science, asked by nematsiddique, 6 months ago

Write output:-

int x=5;

x+ =x++ + ++x%3;

System.out.println(x);​

Answers

Answered by Aashikaushik
2

Answer:

x=2

Explanation:

x=x+x++ + ++x%3

x= 5+5+7%3

x=17%3

x=2

hope it is helpful to u......

Similar questions