I barely know what I\'m doing, I have this code where I try to solve some simple math:
#include #include #include
The compiler is warning you that you forgot to specify the field for sum in the format string. You probably wanted:
printf("\n sum is: %d",sum);
As above, it will not print the sum, and the sum value will not be used. Hence the warning.