When allocating a dynamic array in C, is there any general rule on how much memory to allocate when the amount of memory that will be utilized is unknown?
For example, when dynamic memory allocation is for a string command line argument with no character limitation.