Q.

For the below mentioned codeint main() { int fd;
fd = open(“logfile”, O_CREAT|O_RDWR, 0600);
lseek(fd, 5, SEEK_CUR);
write(fd, “Hello”, 5);
return 0;
},

A. 5
B. 1024
C. 1029
D. 1034
Answer» B. 1024
2k
0
Do you find this helpful?
1

Discussion

No comments yet

Related MCQs