The variable m is defined as an unsigned integer. Can I output it in a signed format?
Sure! Suppose a 16-bit unsigned integer, and the maximum value is 127 (binary:11111/. If output with %d, its highest bit is regarded as sign bit, if output with %u, its highest bit is not regarded as sign bit. Not only that, you can also use char character output and floating-point output. If char output is used, half of11111b will be cut off, and it will be replaced by.