Which function is used to input data in C program?

All

gets()

scanf

getch()