Files and Streams Flashcards
1
Q
What command is used to get user input from the command line?
A
scanf()
2
Q
What is a stream?
A
It is an abstraction of a file that provides a constant interface to the programmer.
3
Q
What does the a stream being buffered mean?
A
Data is not necessarily written to the device when the write command is used and it can be forced to write by flushing the buffer.