Reading From External Files
Lesson 30Author : GOUP
Last Updated : September, 2020
Code
char line[255];
FILE * fpointer = fopen("employees.txt", "r");
fgets(line, 255, fpointer);
printf("%s", line);
fclose(fpointer);
char line[255];
FILE * fpointer = fopen("employees.txt", "r");
fgets(line, 255, fpointer);
printf("%s", line);
fclose(fpointer);