C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
printf Type Characters: Integer
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     Character   Type         Output Format
 
     d           int          Signed decimal integer
 
     i           int          Signed decimal integer
 
     u           int          Unsigned decimal integer
 
     o           int          Unsigned octal integer
 
     x           int          Unsigned hexadecimal integer, using
                              "abcdef"
 
     X           int          Unsigned hexadecimal integer, using
                              "ABCDEF"
 
     n           Ptr to int   Number of characters successfully written
                              so far to the stream or buffer; this
                              value is stored in the integer whose
                              address is given as the argument.
                                    -♦-