c语言无参与返回值函数求某数的某次方,老师留的作业,求各位大牛解答解答
返回值 int fun(int n,int x) { int s=1; while(x--) { s*=n; } return s; } 无参把n、x、s声明为全局变量。