%E: Scientific notation (uppercase, e.g., 1.23E+03). %g: Shortest representation between %f and %e. %G: Same as %g, but uses %E if the exponent is large.
5. Hexadecimal and Octal
%x: Unsigned hexadecimal (lowercase letters a to f).
%X: Unsigned hexadecimal (uppercase letters A to F). %o: Unsigned octal.
6. Pointers and Memory Addresses
%p: Pointer (memory address in hexadecimal format).
7. Long Integers
%ld: Signed long integer.
%lu: Unsigned long integer.
8. Long Long Integers
%lld: Signed long long integer.
%llu: Unsigned long long integer. 9. Short Integers
%hd: Signed short integer.
%hu: Unsigned short integer.
10. Special Characters and Literals
%%: Prints a literal % sign.
\n: Newline character (used within strings for line breaks). \t: Tab character (used within strings for tabs).
11. Wide Characters and Strings (for Unicode support)
%lc: Wide character (e.g., wchar_t type).
%ls: Wide string (e.g., wchar_t[]).
12. Size-Specific Modifiers
%hhd: Signed char.
%hhu: Unsigned char. %zd: size_t type for signed integers. %zu: size_t type for unsigned integers.
13. Floating-Point in Hexadecimal
%a: Hexadecimal floating-point (lowercase).
%A: Hexadecimal floating-point (uppercase).
14. Signed or Unsigned Differences (Short and Long Variants)