Code:#include<stdio.h> #include<conio.h> void main() { int a=1; clrscr(); printf("%d,%d,%d",a++ - a,a - a--,a++ - ++a); getch(); }
for the above code i am getting the output -1,-1,2
I heard the printf takes the arguments from right to left.
Can anyone tell me how this output is obtained?