#include int f(int n); main() {int a=3,s; s=f(a);s=s+=(a);printf("%d\n",s); } f(int n) {st解释一下#includeint f(int n);main(){int a=3,s;s=f(a);s=s+=(a);printf("%d\n",s);}f(int n){static int a=1;n+=a++;return n;}
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 02:52:56
#include int f(int n); main() {int a=3,s; s=f(a);s=s+=(a);printf("%d\n",s); } f(int n) {st解释一下#includeint f(int n);main(){int a=3,s;s=f(a);s=s+=(a);printf("%d\n",s);}f(int n){static int a=1;n+=a++;return n;}
#include int f(int n); main() {int a=3,s; s=f(a);s=s+=(a);printf("%d\n",s); } f(int n) {st
解释一下#include
int f(int n);
main()
{int a=3,s;
s=f(a);s=s+=(a);printf("%d\n",s);
}
f(int n)
{static int a=1;
n+=a++;
return n;
}
#include int f(int n); main() {int a=3,s; s=f(a);s=s+=(a);printf("%d\n",s); } f(int n) {st解释一下#includeint f(int n);main(){int a=3,s;s=f(a);s=s+=(a);printf("%d\n",s);}f(int n){static int a=1;n+=a++;return n;}
#include
int f(int n);
main()
{int a=3,s;
s=f(a);
s=s+=(a);//先算s+=(a)再算s=s多余的运算.
printf("%d\n",s);
}
f(int n)
{static int a=1;
n+=a++; //先用后加 也是n+=a后再算a++
return n; //最后反回的值其实是n+1
}
//说得不明不白,只能这样注释给你了.