Printf Format Type
printf args | Purpose | |
---|---|---|
%f | Represent float and double | |
%e | Scientific (example 52e+01 ) | |
%s | print string (char *str or char str[] ) | |
%c | print character | |
%% | print % character | |
%d | print int | |
%ld | print long | |
%lu | print unsigned long | |
%u | print unsigned int |