We have seen we can think of the 2D array data structure as:
A Table, as in the stock program and the scores program in the text.
A Matrix, as in the gaussian elimination program in the text.
A 1D array of strings.
We can use this to replace the id numbers in our stock data base with the 3 letter name used on the stock exchange. We can declare such an array as:
char id[MAX_STOCKS][MAX_NAME]; //MAX_NAM is defined as 3 in this case.
***********Insert Image************