Matthew Walster
public c v1 · immutableFILE *fp;fp=fopen("input.txt", "r"); // r for readint fgetc(fp); // or use fscanf - remember to convert int to charint fclose(fp); // int stores the return valueFILE *fp;fp=fopen("input.txt", "r"); // r for readint fgetc(fp); // or use fscanf - remember to convert int to charint fclose(fp); // int stores the return value