Keil™, An ARM® Company

µVision® User's Guide

printf

Summary 
void printf ("string", ...) /* ANSI C printf function */
Description 

The printf function works like the ANSI C library function. The first argument is a format string. Following arguments may be expressions or strings. The conventional ANSI C formatting specifications apply to printf.

Return Value None
Example 
>printf ("random number = %04XH\n", rand(0))
random number = 1014H