I want to get a string input from a user in C.
I know how to use scanf to get string inputs. I know how to use malloc and realloc to allocate space for a variable.