1. 功能:

输出括号里的字符串直到’\0’,但不包括空字符
和printf(“%s”,str)效果一样

2. 适用范围:

常搭配strcpy()使用
如:

char str[15];  
strcpy(str,"Hello world");  
puts(str);