慕粉6321516
2019-06-18 12:21
\n转义字符有什么用,输不输都一样啊
如果没有\n,那么输出代码便会成这样:
...
printf("I love imooc.");
printf("I can learn many things in imooc.");
输出:I love imooc.I can learn many things in imooc.
若加\n:
printf("I love imooc.\n");
printf("I can learn many things in imooc.\n");
输出:I love imooc.
I can learn many things in imooc.
C语言入门
926207 学习 · 20797 问题
相似问题