Fast I/O method?

Could anybody please explain me in detail the code for fast I/O in C and the reason why it is faster than scanf() and printf()?
Many coders use file i/o can anyone explain that to me?

There was discussion about this here - Alternative to using printf repeatedly - general - CodeChef Discuss :wink: