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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of memory management

memory management

Photo of Craft of Coding

Craft of Coding

Related news:

News photo

Memory Management Every Developer Should Know

News photo

Memory Management Every Programmer Should Know