Answers

Question and Answer:

  Home  Linux Operating System Management

⟩ For the below mentioned code int main() { int fd; fd = open("logfile", O_CREAT|O_RDWR, 0600); lseek(fd, 5, SEEK_CUR); write(fd, "Hello", 5); return 0; } What is the logfile size now if it's initially was 1024 bytes? a) 5 b) 1024 c) 1029 d) 1034

b) 1024

 163 views

More Questions for you: