+1 vote
in Class 12 by kratos

Give the output of following with justification.

x = 3

x+ = x-x

print x

1 Answer

+6 votes
by kratos
 
Best answer

Output: 3

Working:

x = 3

x = (x+ x-x ):x = 3 + 3 - 3 = 3

...