Q262
What is the output of this program? #include #include int main() int fd, count; char ch[10]; fd = open("example.txt",O_RDWR|O_CREAT); write(fd,"linux",5); lseek(fd,2,SEEK_END); write(fd,"man",3); lseek(fd,0,0); count = read(fd,ch,10); printf("%s ",ch); return 0;
A.
linux
AnswerB.
linuxman
C.
linux man
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board