📜  在 c 中打印八进制数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:13.783000             🧑  作者: Mango

代码示例2
%d - to print value in int format.
%o - to print value in octal format.
%x - to print value in hexadecimal format (letters will print in lowercase)
%lx - to print value in hex (long int) format (i.e any number > 0xFFFFFFFF (8Fs))
%X - to print value in hexadecimal format (letters will print in uppercase)