Exercise
Solidify your learning by having fun with this exercise!
We'll cover the following
In this exercise, you will gain some familiarity with memory allocation. First, you’ll write some buggy programs (fun!). Then, you’ll use some tools to help you find the bugs you inserted. Then, you will realize how awesome these tools are and use them in the future, thus making yourself more happy and productive. The tools are the debugger (e.g., gdb
) and a memory-bug detector called valgrind
Get hands-on with 1400+ tech skills courses.