annotate paper/sample.c @ 24:0cbd471be460 default tip

aaa
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 24 Feb 2016 16:18:11 +0900
parents 57b390dce7df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 int add(int a, int b){
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 return a + b;
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 }
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 int main(){
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 int res;
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 res = add(1,1);
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 return res;
57b390dce7df add css
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 }