Update homework 1 and 2

This commit is contained in:
Jeehoon Kang
2020-03-26 03:38:20 +09:00
parent 241a66fcc1
commit 8938a7ad8f
40 changed files with 5171 additions and 1504 deletions

10
examples/simple_cond.c Normal file
View File

@@ -0,0 +1,10 @@
int f(int x) {
return x + 8;
}
int main() {
int x = 0;
int y = (x++ == 1) ? 1 : 2;
return f((x < y) ? x : 2) == 9;
}