I have started C programming with Eclipse.
According to the image, these functions dont work correctly :(
I expected the output will be:
enter the 1st number: 45
enter the 2st number: 21
1st num is 45 and 2st num is 21
but output is something else, it seems that scanf functions work first, then printf functions work...
Does anybody know where is the problem? Is this problem from compiler or another thing? :(
thanks.