sysy-data/functional/sy/35_op_priority1.sy

9 lines
140 B
Plaintext
Raw Permalink Normal View History

2024-01-09 19:48:14 +08:00
//test the priority of add and mul
int main(){
int a, b, c, d;
a = 10;
b = 4;
c = 2;
d = 2;
return c + a * b - d;
}