Example code for testing out C and learning about memory usage