1.

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
C. will produce compilation error
D. None of the mentioned
Answer» C. will produce compilation error


Discussion

No Comment Found