Posts by Luís Möllmann • 33 points
1 post
-
3
votes2
answers110
viewsQ: Why does the order of these scanf’s make a difference in the outcome?
The program sums up x1 and x2 and puts the result in x1. It doesn’t work if x1 be read before x2. But if you reverse this order, it works. #include <stdio.h> #include <stdlib.h> unsigned…