The char type the char data type is used to store a single character. The character must be surrounded by single quotes, like 'a' or 'c', and we use the %c format specifier to print it: Learn how to output single characters in c programming using printf and putchar functions with examples.

When printing a single character in a c program, must i use %1s in the format string? Can i use something like %c?