Output single character in C
yes, %c will print a single char: also, putchar/putc will work too. From “man putchar”: EDIT: Also note, that if you have a string, to output a single char, you need get the character in the string that you want to output. For example: