The output of this code under pelles C is 0 0, and that under MSVC 2010 is 9 9, can someone please explain me wats wrong..
Code:#include<stdio.h> #include<string.h> #include<stdlib.h> #include<conio.h> int main(void) { FILE *fp; fp=fopen("output.txt","r+"); fgetc(fp); printf("%ld ",ftell(fp)); fgetc(fp); printf("%ld",ftell(fp)); }