众所周知,%o是八进制,在o前面加#就可以输出前缀,%x是十六进制(字母小写),%X是十六进制(字母大写),所以这题还不是简简单单~

#include <stdio.h>

int main() {
    printf("%#o %#X",1234,1234);
    return 0;
}