please answer this................
Attachments:
Answers
Answered by
0
Answer:
Here answer is 4.
Explanation:
As the condition is false, it goes into the else statement,
there it is given as S--,
that means , first it prints, s and then decreases by 1.
so it is printing 4 and decreasing it by 1 (which is post Increment but not pre-increment) for the next S value.
if S value is 5, the answer is 5. and if the value is 6 the answer is 6.
Please mark me as Brainliest. THANK YOU
Similar questions