1. Point out the error in the program? #include<stdio.h> int main() { FILE fp; fp=fopen("trial", "r"); fseek(fp, "20", SEEK_SET); fclose(fp); return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
Instead of "20" use 20L since fseek() need a long offset value.