1 int a(int);
2 int b(int);
3 int c(int);
4 int complex(int, int, int);
5
a(int val)6 int a(int val) {
7 int return_value = val;
8
9 if (val <= 1) {
10 return_value = b(val);
11 } else if (val >= 3) {
12 return_value = c(val);
13 }
14
15 return return_value;
16 }
17
b(int val)18 int b(int val) {
19 int rc = c(val);
20 return rc;
21 }
22
c(int val)23 int c(int val) { return val + 3; }
24
complex(int first,int second,int third)25 int complex(int first, int second, int third) { return first + second + third; }
26
main(int argc,char const * argv[])27 int main(int argc, char const *argv[]) {
28 int A1 = a(1);
29
30 int B2 = b(2);
31
32 int A3 = a(3);
33
34 int A4 = complex(a(1), b(2), c(3));
35
36 return 0;
37 }
38