#include <stdio.h>
#include <stdlib.h>
#define N 4
int main(){
char word[N];
FILE*fp;
fp=fopen("FILE.txt","r");
if(fp==NULL){
printf("Error open file\n");
return -1;
}
while(fscanf(fp," %s",&word[N])!=EOF){
printf(" %s",&word[N]);
}
return 0;
}
FILE FILE FILE FILE FILE FILE FILE FILE FILE
FILE FILE FILE FILE FILE FILE FILE FILE FILE
FILE FILE FILE FILE FILE FILE FILE FILE FILE
FILE FILE FILE FILE FILE FILE FILE FILE FILE
1 2 3 4 5 6 7 8 9