printf % type

%c/%C  char
%s  string 
%p  pointer value hexadecimal number
%d/%i  signed decimal number
%u  unsigned decimal number
%f/%F  float
%e/%E  ?(real number exponent ?)
%g/%G  according to size, if size is small, %f/ if big is, %e
%x/%X  hexadecimal number
%o octal number
%n  line feed

No comments:

Post a Comment

Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore!

 🏙️ Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore! 🚨 Are you thinking about buying an apartment in 2025? 🏢  It’...