allocating memory for 1Mb text file in C
snippet in c

allocating memory for 1Mb text file in C

user5166

    char *one_MB_file = (char*) malloc(sizeof(char));