longstrg.c
This commit is contained in:
parent
4c9f0ef904
commit
cd429b004d
14
c04_string/longstrg.c
Normal file
14
c04_string/longstrg.c
Normal file
@ -0,0 +1,14 @@
|
||||
/* longstrg.c - 打印较长的字符串 */
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user