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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!