c print char of string code example Example: c print char char bob = 'X'; printf("%c", bob); putchar(bob);