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 above

Submitted by: Murtaza
b) closes the stdin and copies the stdout descriptor to stdin
Submitted by: Murtaza

Read Online Linux OS Management Job Interview Questions And Answers