int main()
4 {
5 char buf[20] = {'\101','\102','\103',0};
6 printf("%s",buf);
7 return 0;
8 }

输入结果ABC;

单引号内‘\’开始的8进制ASCII码的转义

相关文章: