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

13 lines
124 B
Plaintext

#include "sylib.h"
int a;
int func(int p){
p = p - 1;
return p;
}
int main(){
int b;
a = 10;
b = func(a);
return b;
}