Heap Demo - malloc, fill, free
Allocate an array on the heap, fill it, then free it. Watch the heap block appear and disappear.
Try an example:
Your C code (must have main())
Controls
No memory to show yet
Click Run or Step to execute your code. The diagram will show where variables live: Stack (local vars), Heap (malloc blocks), and pointers between them.
Output (printf)
No output yet. Use printf("text") or printf("x = %d", x) to print.