I have two arrays:
char line[128] which is populated using:
fgets(line,sizeof line, file)
and
char* array;
array=(char*) malloc(j*sizeof(char));
where j is some integer.
I'd like to assign an element of "line" to the corresponding element of "array".
Thanks in advance for any help!
line[i] = array[i]? Or do I have it backwards?