注意:该函数输出与%s格式输出一样,只是该函数输出会自动将串结束符转为换行输出。
例如:puts(“abc”); puts(“abc”);
输出结果:abc
abc
printf(“%s”,”abc”); printf(“%s”,”abc”);