I thought that the function parameters were pushed onto stack from right to left.
#include <stdio.h>
main()
{
int i=0;
printf("%d %d\n",scanf(" %d",&i),i);
}
But this code prints out the keyboard entered value instead of 0. Why is it so?