Get the latest tech news
In C, memory management begins – The Craft of Coding
When you learn to program in C, more often than not people side-step the issue of memory management. It’s the one language where you really have to get a handle on the concepts of memory from…
Here memory is needed to store the string “hello world\n”, but that is done internally, similarly to how it is done in most programming languages. But the minute a program contains any sort of input, you have to start thinking about memory management. This is different from most programming languages where memory management foes not have to be involved in everyday housekeeping tasks like simple variable input.
Or read this on Hacker News