Reading From External Files
Lesson 30Author : 🦒
Last Updated : November, 2017
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);