Question: An array that will hold 5 names with 20 characters in the name would be defined using which statement? a. char names[5][20]; b. char names[20][5];
An array that will hold 5 names with 20 characters in the name would be defined using which statement?
| a. | char names[5][20]; |
| b. | char names[20][5]; |
| c. | char names[21][5]; |
| d. | char names[5][21]; |
| e. | None of these will work |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
