The reason is that the value get store in stack, as u have not given the name of variable while using printf. the values just get pop and the last value print at first and the second one at the last.
But in the some complier it print the garbage value.





Reply With Quote