%@ 文字列 %c 一つの文字 %d Integer(符号付10進数表示) %u Integer(符号なし10進数表示) %o Integer(符号付8進数表示) %x Integer(符号付16進数表示) %X Integer(符号なし16進数表示) %e doubleを指数付きで表示 %f doubleを指数なし表示 %.2f doubleを小数点第2位まで表示 %.1f doubleを小数点第1位まで表示 %g doubleをeかfのいずれか短い方で表示 %s 文字列を最初のNULLまで表示