Instructions for Exercise

This lesson demonstrates how you can run the file provided in the exercise in the next lesson.

In this exercise, you’ll be investigating swap performance with a simple program found in mem.c. The program is really simple: it just allocates an array of integers of a certain size, and then proceeds to loop through it (repeatedly), incrementing each value in the array.

Get hands-on with 1200+ tech skills courses.