char match (char*, int n);
int
main (int argc, char *argv[]) {
char *query;
int n = 3;
query = argv[1]; /*argv[1] = "string" */
match (query, n)
return 0;
}
char
match (query, n) { ... }
我正在尝试访问两个参数(查询和 n),但出现错误:参数“查询”与原型不匹配,并且错误:原型声明