A bunch of examples I've decided to save while learning C.
Mostly derived from A TUTORIAL ON POINTERS AND ARRAYS IN C by Ted Jensen
The easiest way to run examples is:
# substitute the number "2-1" to run other programs
gcc ./pointers/pointers2-1.c -o test && ./test
gcc malloc-struct.c -o test && ./test | hexdump -d