Update skeleton

This commit is contained in:
Jeehoon Kang
2020-04-20 16:19:44 +09:00
parent 72ec63ea82
commit 5b45cf1fd8
5 changed files with 34 additions and 5 deletions

11
examples/array5.c Normal file
View File

@@ -0,0 +1,11 @@
int main() {
int init = 1;
int a[5] = {init, 2, 3, 4, -5};
int sum = 0;
for(int i = 0; i < 5; i++) {
sum += a[i];
}
return sum;
}