C | Sololearn: Learn to code for FREE!



int i =10; printf("%d,%d,%d",i++,i,++i); Output in c ?


4/30/2021 4:06:21 PM

abhishek bairwa

2 Answers

New Answer


https://code.sololearn.com/cL67Tkhm2s6P/?ref=app You should be careful because you're performing operations to the variable i by while printing it. The computer interprets the operations from right to left but this can be compiler dependent so it is just unreliable.


Delete this post, bairwa