执行语句printf(“%s\n”,“1+2+3\0=6”);后输出结果是 。
格式符号s是输出一个字符串,%s的参数是字符串“1+2+3\0=6”而执行只执行到\0就不执行了。所以printf(“%s\n”,“1+2+3\0=6”);输出的结果就是1+2+3
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/441978.html
上一篇:Why We Need VacationsThere's more to a vacation than can be described in travel books. We certainly need breaks from work. But there is even more to be said for a get-away break, leaving all daily work behind and living a different life for a
下一篇:试述国际收支失衡对一国经济发展产生的影响。