sysy-data/functional/sy/09_func_defn.sy

12 lines
105 B
Plaintext
Raw Permalink Normal View History

2024-01-09 19:48:14 +08:00
int a;
int func(int p){
p = p - 1;
return p;
}
int main(){
int b;
a = 10;
b = func(a);
return b;
}