gets 文字配列初期化文字配列putsgets文字列終了フラグ 出力文字列を入力する時scanf()、printf()とgets()、puts()の違いは簡単です。scanfprintfgetsput