Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
|
|
print_col
that could be called like this print_col(A,5,4,1) (assuming the
above situation) to print the index 1 column of the array A. Thus, the call
print_col(A,5,4,1) would produce the output shown below.
1 11 21 31 41 Note: the function should work for any 2D array of ints with proper dimensions and column number
| |