Keil Logo

printf

概要
void printf ("string", ...) /* ANSI C printf function */
説明

printf 関数は、ANSI C ライブラリ関数のように動作します。最初の引数は、フォーマットストリングです。引数の後に、式または文字列を指定します。printf では従来の ANSI C 形式で指定できます。

戻り値

なし

>printf ("random number = %04XH\n", rand(0))
random number = 1014H
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.