Question: Is the data pointer in longString ever initialized to anything? Not clear to me it ever is. What does realloc() do if it is passed a bad/invalid/uninitialized pointer?
Question: Is the data pointer in longString ever initialized to anything? Not clear to me it ever is. What does realloc() do if it is passed a bad/invalid/uninitialized pointer?