Re: C- Tricky Question & answers With explanation output of the above statements is
11 12 10
because printf() will execute its parameter from right to left
so i++ will print 10 & increment to 11
then ++i will increment to 12 & print 12
finally --i will decrement to 11 & print 11
hence the output is 11 12 10
__________________ SeeSamJagan
- Sky is not the "LIMIT", Death is not the END, There is still something beyond.... |