int folio[MAX_STOCKS][MAX_COLS];
We can declare this array in main() in stock10.c. I have defined macros for the indexes of the columns corresponding to the fields of the data base in folio10.h.
We must rewrite all of the code for the functions, using the same algorithm, but using the syntax for accessing the 2D array. These are in io_utils10.c, and proc_folio10.c.