The '\n' character is a newline character, which tells the output stream to go to the next line. printf will also make sure that every time you output a '\n', all the input in the buffer is "flushed" which means it is actually written instead of buffer for later output, for example.