Resize A String Stored In Dynamically Allocated Memory | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

sure, but if it returns NULL would it not be better to store the return address to a different pointer and then determine if string will point to it? this happens more often than one would think in small embedded chips.

dimitrioskalfakis
visit shbcf.ru