Code snippet (file1 size is 2024)
f1 = fopen (file1, RDWR, RWX)
lseek(f1,1024,SEEK_SET)
write(f1,buf,10)
What is offset now.
f1 = fopen (file1, RDWR, RWX)
lseek(f1,1024,SEEK_SET)
write(f1,buf,10)
What is offset now.A. 1024
B. 1034
C. 2034
D. 2054
Answer: Option B

Join The Discussion