#include <stdio.h>
#include <string.h>
int main() {
char name_arr[10][21];
for(int i = 0; i < 3; i++)
{
printf("input name \n");
scanf("%s", name_arr[i]);
}
for(int i = 0; i < 3; i++)
{
printf("%s ", name_arr[i]);
}
return 0;
}
07-24
787
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)