Computer Science, asked by kotharimaharshi, 1 month ago

If a = 10 then write the output of the following :

System.out.print(++a = = a++ ? false : true);

Answers

Answered by singhanshuman1020
3

Answer:

++a => pre-increment operator

a++ => post-increment operator

so, ++a == a++ indicates

11 == 11

so, output will be true

Like and Mark as Brainliest, it really motivates!

Similar questions