Computer Science, asked by sshukla57, 6 months ago

if int x=5give output of system out println (++x + ++x -x​

Answers

Answered by akhiwaghtech
0

Answer:

6

Explanation:

Output wo be 6 as

as ++x = 6

then ++x = 6

if we put the above values then we will get

6+6-6

which equals to 12-6 = 6

Similar questions