Vidyalelo
Computer Science · Q746

Linux

Engineering and GATE · Computer Science · question 746

Q746

Code snippet (file1 size is 2024) f1 = fopen (file1, RDWR, RWX) lseek(f1,1024,SEEK_SET) write(f1,buf,10) What is offset now.

A.
1024
B.
1034
Answer
C.
2034
D.
2054

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board