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
c) 2034
d) 2054

Submitted by: Murtaza
b) 1034
Submitted by: Murtaza

Read Online Linux OS Management Job Interview Questions And Answers