rustic-sysy/sysy_sets/09_func_defn.sy

12 lines
105 B
Plaintext
Raw Permalink Normal View History

2024-08-27 18:13:31 +08:00
int a;
int func(int p){
p = p - 1;
return p;
}
int main(){
int b;
a = 10;
b = func(a);
return b;
}