result of the following expression if i=20 initially
i) ++i<=20(if i=20)
ii)i++<=20(if i =20)
Answers
Answered by
8
Answer:-
Initially,
i=20,
++i=21(pre increment)
So,
21<=20 is false.
Again,
i=20
i++<=20
=20<=20 which is true.
Now, i=21(post increment)
Answered by
2
Answer:
Initially....i =20
1.++i<=20
21<=20(pre increment)
•°•False
2.i++<=20
20<=20. (now it's value turns 21 due to post increment)
•°•True
Similar questions