Hello I am trying to read in a file using fgets. I purposely malloc
a char pointer that will not be able to fit the entire line of the file and
will be able to increment it if needed using realloc. But for some reason
I can't seem to figure out why it seg faults. The code and result are
attached if anyone can help me figure out what I am doing wrong that would be very appreciated!