Consider the following:
int anArray[3][5] =
{
{ 1, 2, 3, 4, 5, }, // row 0
{ 6, 7, 8, 9, 10, }, // row 1
{ 11, 12, 13, 14, 15 } // row 2
};
func(a2);
Which of the following prototypes would work for the function called func?
| A. |
func(int a[][7]); |
| B. |
func(int a[5][7]); |
| C. |
func(int a[5][]); |
| D. |
func(int a[][]); |