printfの時、%d %s 以外ほぼ忘れてる
こちらのページを参考にメモ
http://itsd210.s24.xrea.com/ja/ansi-c/#printf
http://wisdom.sakura.ne.jp/programming/c/c57.html
http://www.c-tipsref.com/reference/stdio/printf.html
%c 文字 char
%s 文字列 char*
%i 符号つき8進数 int
%d 符号つき10進数 int
%h 符号つき10進数 short
%u 符号なし10進数 unsigned int unsigned short
%o 符号なし8進数 unsigned int
%ld 符号つき10進数 long
%lu 符号なし10進数 unsigned long
%f 倍精度浮動小数点 double
%L 4倍精度浮動小数点 Long double