I have noticed printf only printing to the screen...
- when there is newline
- when there is scanf
Help me understand this behavior. I am thinking that printf writes to stdout and the kernel is flushing to screen or display drivers. Is my understanding correct?