In our daily programming, sometimes we need to format and output the binary of an integer data, but in our C language only
Output decimal: %d;
Output hexadecimal: %x;
Output single character: %c;
Output string: %s;
Output variable location The address: %p;
There is no such binary corresponding format, so we need to implement it manually.