•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ printf/scanf Formats types ]

  %c  Character   (char)
  %s  String      (char*)            NULL terminated
  %d  Decimal     (int)              also %i
  %u  Unsigned    (unsigned int)
  %o  Octal       (int)
  %x  Hexadecimal (unsigned int)
  %f  Floating    (float)            e.g. 100.0
  %e  Exponent    (float)            e.g. 1.0e2
  %g  %f or %e    (float)

  %%  Percent Sign

printf only:
  %p  Address     (void*) Writes address in hex.
  %n  Length      (int*)  Returns number characters output so far.

See also length modifier.