If I'm using fgets() for console input, yet I don't know how long the input will be, what would be the most appropriate value for the second parameter? Also, would specifying a very large buffer size as the second parameter cause memory problems?
Is there a better method for accepting keyboard input of unknown and potentially large size?
