Code for Program of FSEEK in C Programming
#include <stdio.h>
long filesize(FILE *stream);
int main(void)
{
FILE *stream;
char c; int i=0;
stream = fopen("MYFILE.TXT", "r");
while(feof(stream)==0)
{
fseek(stream,i,0);
i+=5;
c=getc(stream);
printf("%c\n",c);
}
fclose(stream);
return 0;
}