Format Specifiers in C

 The C Language has the following format specifiers.


- specifies left alignment, otherwise we have right alignment.


%c prints characters

%d and %i for integers
%o for octal
%x, %X for hexadecimal
%s for string
%f, %e, %E for floating point
%lf for double floating-point number 



Post a Comment

0 Comments

Me