# include<stdio.h>
void main()
{
char HanShu(char *a[]);
char str[10] = {0};
//就是想调用函数,但老出错,显示:C:\c\x.cpp(8) : error C2664: 'HanShu' : cannot convert parameter 1 from 'char [10]' to 'char *[]'
int a = HanShu(str);
}
char HanShu(char *a[])
{
int a = 10;
return 10;
}
|
|