What happened in my stack?

If you write a program which requires a big chunk of memory at the time, you will notice the influences of ‘stack size’. I will show you what will happen in this stack limitation with the following simple program. #include <stdio.h> #include <malloc.h> int main() { char *a; unsigned long i, half_gb = 512 *Continue reading “What happened in my stack?”