Output Operations
Output Operations
Output Operations
Managing
Input/Output operations
Program
Input / Output Functions
I/O Functions
Unformatted Formatted
getch( ) ,getche( ),putch( )
getchar( ), putchar ( )
scanf( )
gets( ), puts( ) printf( )
Formatted input
scanf (“control string”,&arg1,&arg2,…&argn);
Control string (format string) –
It consists of field/ format specifications
consisting of the conversion character % ,
a data type and a optional number specifying
the field width.
arg1,arg2…argn- it specifies the address
of locations where the data is stored
Inputting integer numbers