C does not have automatic native support for storing strings, there is no variable that is a "string", and can automatically grow to hold the correct number of characters. You need to allocate memory yourself.
, , - . , gets() , , undefined. , . , .
, , , . , , , , , , , realloc(), , .
gets(), . fgets(), .