Define a two-dimensional long integer array A of 3 rows and 4 columns.
Fill the elements of the arrays with the numbers 1 - 12 in the order
1 2 3 4
5 6 7 8
9 10 11 12
Define another array B that will
hold the elements of the transpose of
A. Make up the transpose array and print it on the console.
Now define a pointer that you can use to access the elements of the
Arrays A and B. Use it to print out the elements A(2,4) and B(2,1)
Check that you have printed the correct values.
Declare a 3D array C, big enough to store two copies of array A
and copy array A into C twice....展开收缩