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

12 lines
105 B
Plaintext

int a;
int func(int p){
p = p - 1;
return p;
}
int main(){
int b;
a = 10;
b = func(a);
return b;
}