[Solved] Printing a char in ANSI C


putchar(charInput) will print your character once, and will then return its argument,
charInput. This then gets passed to printf, which prints the same character again.

solved Printing a char in ANSI C