Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Appendix B. Table of Format Specifiers

Appendix B. Table of Format Specifiers

Format SpecifiedMeaning
cdata item is a single character
ddata item is a decimal integer
edata item is a floating point value
fdata item is a floating point value
gdata item is a floating point value
h[]data item is a short integer
idata item is a decimal, hexadecimal or octal integer
odata item is a octal integer
sdata item is a string followed by a white space
udata item is a is an unsigned decimal integer
xdata item is a hexadecimal integer
[. . .][]data item is a string which may include while space characters
[]


[] Only applicable for data input i.e for scanf() function.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint