Question: is putchar faster than printf?
Answer: printf is a generic printing function that works with 100 different format specifiers and prints the proper result string. putchar , well, puts a character to the screen. That also means that it's probably much faster.