In C, memory management begins immediately
Skip to content
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 day one. Sure, it is possible to write programs where you don’t have to worry about memory at all, for example the ubiquitous “Hello World” program:
#include <stdio.h>
int main(void){
printf("hello world\n");
return 0;
}
Here memory is needed to store the string “hello world\n”, but that is ...
Read more at craftofcoding.wordpress.com