1 | int a(int); |
---|---|
2 | int b(int); |
3 | int c(int); |
4 | |
5 | int a(int val) { |
6 | if (val <= 1) |
7 | val = b(val); |
8 | else if (val >= 3) |
9 | val = c(val); |
10 | |
11 | return val; |
12 | } |
13 | |
14 | int b(int val) { return c(val); } |
15 | |
16 | int c(int val) { |
17 | return val + 3; // break here. |
18 | } |
19 | |
20 | int main(int argc, char const *argv[]) { |
21 | int A1 = a(val: 1); // a(1) -> b(1) -> c(1) |
22 | int B2 = b(val: 2); // b(2) -> c(2) |
23 | int A3 = a(val: 3); // a(3) -> c(3) |
24 | return 0; |
25 | } |
26 |