#include&lt;stdio.h&gt;   #include&lt;fcntl.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd, count;       char ch&#91;10&#93;;       fd = open&#40;&quot;sanfoundry.txt&quot;,O_RDWR|O_CREAT&#41;;       write&#40;fd,&quot;linux&quot;,5&#41;;       lseek&#40;fd,2,SEEK_END&#41;;       write&#40;fd,&quot;san&quot;,3&#41;;       lseek&#40;fd,0,0&#41;;       count = read&#40;fd,ch,10&#41;;       printf&#40;&quot;%s\n&quot;,ch&#41;;       return 0;   &#125;
A. linux
B. linuxsan
C. linux san
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;fcntl.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd, count;       char ch&#91;10&#93;;       fd = open&#40;&quot;sanfoundry.txt&quot;,O_RDWR|O_CREAT&#41;;       write&#40;fd,&quot;linux&quot;,5&#41;;       lseek&#40;fd,2,SEEK_END&#41;;       write&#40;fd,&quot;san&quot;,3&#41;;       lseek&#40;fd,0,0&#41;;       count = read&#40;fd,ch,10&#41;;       printf&#40;&quot;%s\n&quot;,ch&#41;;       return 0;   &#125;
A. linux B. linuxsan C. linux san D. none of the mentioned
Explanation:The lseek function allows the file offset to be set beyond the end of the file and if the data is latter written this point, subsequent reads of the data in the gap returns NULL.