int main()
4 {
5 char buf[20] = {'\101','\102','\103',0};
6 printf("%s",buf);
7 return 0;
8 }
输入结果ABC;
单引号内‘\’开始的8进制ASCII码的转义
int main()
4 {
5 char buf[20] = {'\101','\102','\103',0};
6 printf("%s",buf);
7 return 0;
8 }
输入结果ABC;
单引号内‘\’开始的8进制ASCII码的转义
转载于:https://www.cnblogs.com/xpylovely/p/10935818.html