Keywords in c
Format specifiers are important in c. they are used to take values from a user with a specific data type and it used to print the value by defining the specific data type.
format specifier | Meaning |
---|---|
%c | single character |
%d | integer |
%i | integer |
%e | float |
%f | double float |
%o | int unsigned octal value |
%p | pointer address stored in pointer |
%u | int unsigned decimal |
%s | array of char sequence of characters |
%x (%X) | int unsigned hex value |