I am attempting to convert a 2D array to 1D. I\'m extremely new to C/C++ but I think it\'s very important to learn how to convert a 2D array to 1D. So here I am stumbling u
First of all, the size of the 1D array should be n*m.
n*m
The cycle can be as follows-
int lim = n*m; for(q = 0; q