%d 十進数を扱います。
%c 文字1個 の場合使用します。
%s 複数の文字の場合使用します。
%f 実数の場合使用
int ; 整数用変数。
double ; 実数用変数
char ; 文字列用変数 20文字確保
More than 5 years have passed since last update.
%d 十進数を扱います。
%c 文字1個 の場合使用します。
%s 複数の文字の場合使用します。
%f 実数の場合使用
int ; 整数用変数。
double ; 実数用変数
char ; 文字列用変数 20文字確保
Register as a new user and use Qiita more conveniently