Commit | Line | Data |
---|---|---|
8e260d52 DT |
1 | #include <stdio.h> |
2 | ||
3 | int callee( x ) | |
4 | int x; | |
5 | { | |
6 | int y = x * x; | |
7 | return (y - 2); | |
8 | } | |
9 | ||
10 | main() | |
11 | { | |
12 | int i; | |
13 | for (i = 1; i < 10; i++) | |
14 | { | |
15 | printf( "%d ", callee( i )); | |
16 | ||
17 | } | |
18 | printf( " Goodbye!\n" ); | |
19 | ||
20 | } |