(C语言)每日代码||2023.12.24||printf换行的三种方法
#include <stdio.h>
int main() {
//printf()函数不同参数间可以换行
printf("num one : %d,num two : %d",
1, 2);
//printf字符串内换行的三种方法
//一
printf("Here's one way to print a ");
printf("long string.\n");
//二
printf("Here's another way to print a \
long string.\n");
//三
printf("Here's the newest way to print a "
"long string.\n");
return 0;
}