What is stream in c programming language?

Stream is not a hardware it is linear queue which connect file to program and passes block of data in both direction .So it is independent of devices which we are using. We can also define stream as source of data. This source can be

(a) A file
(b) Hard disk or CD, DVD etc.
(c) I/O devices etc.

In c programming language there are two type of stream.

(a) Text streams
(b) Binary streams
Post a Comment