C Programming

From Nerdica Wiki
Revision as of 16:24, 29 March 2010 by Travis (Talk | contribs) (Format Specifiers)

Jump to: navigation, search

Format Specifiers

%d = an integer whole number = 100
%f = a floating point number = 0.123456 %c = a single character = 'A' %s = a string of characters = "Hello World" %p = a machine memory address = 0x0022FF5C