#include <stdio.h> int main(void) { int test = 138; printf("Eight of test:%2o\n",test); //八进制输出 printf("Ten of test:%2d\n",test); //十进制输出 printf("Sixteen of test:%2X\n",test); //十六进制输出 /* 没有明白你的具体意思,希望这个对你有点帮助 */ return 0; }
#include <stdio.h> int main(void) { putchar('\101'); putchar('\n'); putchar('\x80'); return 0; }