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 specifierMeaning
%csingle character
%fdouble float
%oint unsigned octal value
%ppointer address stored in pointer
%uint unsigned decimal
%sarray of char sequence of characters
%x (%X)int unsigned hex value