上传了一些佛学书籍# PDA - 掌中宝
h*g
1 楼
void foo (/* Add param here */) {
}
void main () {
char *str;
foo (/* Pass str somehow here */);
printf ("%s\n", str);//line 1
}
想在line 1处 输出 hello 得咋搞?
半天也没搞懂~~~
在foo()内用static?
}
void main () {
char *str;
foo (/* Pass str somehow here */);
printf ("%s\n", str);//line 1
}
想在line 1处 输出 hello 得咋搞?
半天也没搞懂~~~
在foo()内用static?