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 - http://discuss.codechef.com/questions/870/alternative-to-using-printf-repeatedly :wink: