
Input and Output in C 79
EXER CISES
A) A nsw er the following questions.
1) What are the formatted and unformatted functions?
2) What is the difference between charac t e r I/O and s trin g I/0?
3) What are the escape sequences?
4) List any three escape sequences with their uses.
5) What is the difference between puts () andputch ()?
6) What is the difference between getch () and getche ()?
7) H ow iscgets () different from gets ()?
8) How will you execute a dos command through C?
9) What is the use of e x it () function?
B) Select the appropriate options from the choices given below.
1) What will be the output of the follow ...