Figure 1

Figure 1: Flattening a 2D array in C or C++.