Write an application that creates and returns a one-dimensional array containing
all the elements in the two-dimensional array. Store the values in a row major
format. For testing purposes, you may do a compile-time initialization of a 12 x 5
two-dimensional array. Display both the two-dimensional and the onedimensional
array. Be sure the values in the array are number aligned.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.