
实现 char name[][10];
You can just pass name by itself, which will evaluate to a pointer to the first element of the array( the same as &name[i] )
本文探讨了C语言中如何通过指针传递字符数组的基本原理。解释了当需要将一个字符数组作为参数传递给函数时,可以直接传递数组名,因为这样做实际上是在传递指向数组首元素的指针。

实现 char name[][10];
You can just pass name by itself, which will evaluate to a pointer to the first element of the array( the same as &name[i] )
3万+