Why doesn't C++ program wait a sec for 2nd iteration like it does for 1st iteration before printing a character
Output in C++ is buffered. This means that a bunch of
characters are collected together and output at the same time, either when
the buffer is full or the program ends, or when the stream is flushed (with
endl for example).