Q614
dup2(1,0)
A.
closes the stdout and copies the stdin descriptor to stdout
B.
closes the stdin and copies the stdout descriptor to stdin
AnswerC.
will produce compilation error
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board