code.club

標題: printf()和puts() [打印本頁]

作者: enter    時間: 2015-1-19 18:03
標題: printf()和puts()
#include <stdio.h>

int main(void)
{
char x[]={"hello how are you?"};
puts(x); //會自動換行,而且執行比printf()更快程式更小。
printf(x); //不會自動換行
return 0;
}




歡迎光臨 code.club (http://code.club/) Powered by Discuz! X3.2