I wrote some code in order to get a file name from the user at the terminal. I tried using realloc but there is an error in memory management that I do not understand. I am not sure if I am...