1.

Write the formatted and unformatted i/o functions in C.

Answer»

Function scanf( ) is used to read the values for the variables in C from the keyboard. The scanf( ) is used to enter the numeric, character and string type data. It is included in the header file <stdio.h>. C programming provides printf( ) function to display the data on the output device(monitor). Syntax for scanf( ) and printf( ) is printf(“control string”, variable); scanf(“control string”, address_list);



Discussion

No Comment Found