関数 get_string から main の fileinput にコピーワードを渡そうとしています。
main の最初の行である行 5 を参照しているときに、コンパイラは関数 get_string でエラーを言います。
#include <stdio.h>
#include <stdlib.h>
char get_string (char * copywords[100])
int main (){
char fileinput[100];
get_string(fileinput[100]);
;
char get_string (char * copywords[100]) {
FILE *fp;
int c;
char copywords[100];
fp = fopen("gues20.txt", "r");
if (fp == NULL)
exit(1);
else {
while(fgets(copywords , 100, fp) == EOF){
}
fclose(fp);
}
return (copywords);
}