1 #include<stdio.h> 2 int main() 3 { 4 char a = ‘h‘; 5 char b[] = "hello"; 6 putchar(a); 7 //putchar(10); 8 putchar(‘\n‘); 9 puts(b); 10 return 0; 11 }
putchar输出一个字符,puts输出字符串。
putchar和puts
原文:http://www.cnblogs.com/renchong/p/5522784.html