#include #include #include #include struct answers_1{ char* ans; }; struct answers_1 get_file_name(int *mas, int x); int main (void) { struct answers_1 answers; char* path = (char*) malloc( 256 ); int x = 0, buf = 0,i=0,b; printf("Input file name:\n"); scanf("%s",path); FILE *in; in = fopen(path, "r"); if (in == NULL) { exit(1); } while ((fscanf(in, "%d", &b)!=EOF)) { x++; } rewind(in); int mas[x]; for(i=0;i