printf("%c%c%c%s%c%c%c%c",'\",'a','\","is not",'\"','a','\"','\n');

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/19 21:36:24

printf("%c%c%c%s%c%c%c%c",'\",'a','\","is not",'\"','a','\"','\n');

'\" 这个是想表示双引号"吗?
如果是的话,应该写成: '\'''
把printf("%c%c%c%s%c%c%c%c",'\",'a','\","is not",'\"','a','\"','\n');改为:
printf("%c%c%c%s%c%c%c%c",'\"','a','\"',"is not",'\"','a','\"','\n');
就对了.
我测试过了.希望对你有帮助.仍有问题可以HI我.