Mercurial > hg > CbC > old > device
comparison test/simp1.c @ 252:1452eb0eab20
*** empty log message ***
author | kono |
---|---|
date | Wed, 12 May 2004 19:13:19 +0900 |
parents | 8313c965c0e2 |
children | 8cd8d72286ae |
comparison
equal
deleted
inserted
replaced
251:fb6efe8ff816 | 252:1452eb0eab20 |
---|---|
9 { | 9 { |
10 return a+b+c+d+f; | 10 return a+b+c+d+f; |
11 } | 11 } |
12 | 12 |
13 char | 13 char |
14 c(char a,char b,char c,char d,char f) | 14 ch(char a,char b,char c,char d,char f) |
15 { | 15 { |
16 return a+b+c+d+f; | 16 return a+b+c+d+f; |
17 } | 17 } |
18 | 18 |
19 | 19 |
85 { | 85 { |
86 char a,b,c; | 86 char a,b,c; |
87 a=3; | 87 a=3; |
88 b=-3; | 88 b=-3; |
89 c=5; | 89 c=5; |
90 c = c(a*3,b*c,b+c,b/c,b-c); | 90 c = ch(a*3,b*c,b+c,b/c,b-c); |
91 printf("char: %d\n",c); | 91 printf("char: %d\n",c); |
92 } | 92 } |
93 | 93 |
94 int | 94 int |
95 s1() | 95 s1() |