Answers

Question and Answer:

  Home  Linux Operating System Management

⟩ What is stored in logfile as per below mentioned code if we execute ./a.out > logfile? int main() { int fd; close(1); fd = open("logfile",O_RDWR, 0744); write(fd, "Hello", 5); printf("Worldn"); return 0; } a) Hello b) HelloWorld c) World d) None

b) HelloWorld

 170 views

More Questions for you: