KnowledgeBoat Logo
|

Computer Applications

What is the value of x1 if x=5?
x1= ++x – x++ + --x

Java Operators

ICSE 2017

81 Likes

Answer

    x1 = ++x – x++ + --x
⇒ x1 = 6 - 6 + 6
⇒ x1 = 0 + 6
⇒ x1 = 6

Answered By

41 Likes


Related Questions