#include int main(int argc, char *argv[]){ FILE f* = fopen(argv[1],"r"); fseek(f, 0, SEEK_END); long bytes = ftell(f); printf("The file has %ld bytes\n", bytes); long middle = bytes/2; fseek(f, middle, SEEK_SET); int c = fgetc(f); printf("The byte at %ld is %x", middle, c); fclose(f); return 0; }