Explain what is a stream?



Explain what is a stream?..

Answer / Sandeep Kumar Singh

In C, a stream refers to an abstract sequence of bytes used for input or output operations. Standard streams in C include stdin (standard input), stdout (standard output), and stderr (standard error). Streams can be associated with files using functions like fopen().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why clrscr is used in c?

1 Answers  


Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.

1 Answers  


Explain how do you determine the length of a string value that was stored in a variable?

1 Answers  


What is the difference between int main and void main?

1 Answers  


how to find sum of 5 digits in C?

4 Answers  


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

1 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count..

1 Answers  


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

1 Answers   Google, Infosys,


What are static variables, and where are they stored?

2 Answers  


Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?

1 Answers   HCL,


What is the difference function call by value & function call by reference?

6 Answers  


Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, Wipro,


Categories