Type conversion – unsigned to signed int/char
This is because of the various implicit type conversion rules in C. There are two of them that a C programmer must know: the usual arithmetic conversions and the integer promotions (the latter are part of the former). In the char case you have the types (signed char) == (unsigned char). These are both small … Read more