Vidyalelo
C Programming · Q259

File Input Output

Programming · C Programming · question 259

Q259

What does the following command line signify? prog1|prog2

A.
It runs prog1 first, prog2 second
B.
It runs prog2 first, prog1 second
C.
It runs both the programs, pipes output of prog1 to input of prog2
Answer
D.
It runs both the programs, pipes output of prog2 to input of prog1

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board