解釋
函式名: fputchar功能: 送一個字元到標準輸出流(stdout)中
用法: int fputchar(char ch);
程式例
#include <stdio.h>int main(void)
{
char msg【】 = "This is a test";
int i = 0;
while (msg)
{
fputchar(msg);
i++;
}
return 0;
}
fputchar,函式名,送一個字元到標準輸出流(stdout)中,出錯則返回EOF。用法: int fputchar(char ch)。