#include<iostream> using namespace std; int f(int a) { int b = 0; static int c = 3; a = c++,b++; return (a); } int main() { int a = 2, i, k; for (i = 0; i < 2; i++) k = f(a++); printf(" % d\n", k); return 0; }
3
0
5
4
a = c++, b++;
f ,逗号优先级最低
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题