say I have 2 unsigned ints, var1 and var2, both are larger than can fit in a signed int. Now I have a signed int result.
so lets say;
unsigned int var1 = 45678; unsigned int var2 = 56789; signed int result;
and I do
var1-var2 will be small enough to fit in the signed int but I don't know if the calculation will work as written. Will it?