64,646
社区成员
发帖
与我相关
我的任务
分享
void testfunc( char *arr, size_t len)
{
//your work
}
int main()
{
char array[] = "testfunc";
testfunc(array, sizeof(array)/sizeof(*array));
}
//两个参数,一个地址,一个长度!
int testfunc( char *test, unsigned int testlen)
{
// TODO something;
}