Examples of Formatted Output
%d integer decimal value
%o integer printed as octal
%x integer printed as hexadecimal
%c integer printed as character
%u unsigned integer decimal value
%f floating point value
%g floating point value
%s null terminated string value
%% percent sign
Previous slide
Next slide
Back to first slide
View graphic version