Input and output are covered in some detail. C allows quite precise control of these. This section discusses input and output from keyboard and screen.
The same mechanisms can be used to read or write data from and to files. It is also possible to treat character strings in a similar way, constructing or analysing them and storing results in variables. These variants of the basic input and output commands are discussed in the next section