What is the value of variable ans after evaluating
the following statement if ans = 200 initially:
ans = (ans >= 180) ? ans++ : ++ans;
Answers
Answered by
0
Answer:
202
Explanation:
since 200 initial value is greater than 180
post increment and pre increment will add each 1 point to it making 202
Similar questions