Answer:
The prototype is as follows:
void showSeatingChart (string seatingChart[][40]);
Step-by-step explanation:
Required
The prototype of a function that accepts a 2D array
The syntax to do this (in C++) is as follows:
return-type function-name(array-type array-name[][Column])
- The return type is not stated, so I will make use of void
- From the question, the function name is showSeatingChart
- The array type is string
- The array name is seatingChart
- Lastly, the number of column is 40
Hence, the function prototype is:
void showSeatingChart (string seatingChart[][40]);