The so-called two-dimensional array of C language is only a logical concept, physical storage is still one-dimensional, linear, and sequential storage.A logical two-dimensional array allows the associated Pointers to be moved by row or column, and the arithmetic of the internal Pointers is done by the compiler.C language array name is a special existence, the…