Accenture interview question

Difference between printf and scanf?