Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to output 23+45=68 in C language
How to output 23+45=68 in C language

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.