1999-04-16 01:35:26 +00:00
|
|
|
/* This program is used to test the "jump" command. There's nothing
|
|
|
|
particularly deep about the functionality nor names in here.
|
|
|
|
*/
|
|
|
|
|
1999-06-28 16:06:02 +00:00
|
|
|
#ifdef PROTOTYPES
|
|
|
|
static int square (int x)
|
|
|
|
#else
|
1999-04-16 01:35:26 +00:00
|
|
|
static int square (x)
|
|
|
|
int x;
|
1999-06-28 16:06:02 +00:00
|
|
|
#endif
|
1999-04-16 01:35:26 +00:00
|
|
|
{
|
|
|
|
return x*x;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
1999-06-28 16:06:02 +00:00
|
|
|
int main ()
|
1999-04-16 01:35:26 +00:00
|
|
|
{
|
|
|
|
int i = 99;
|
|
|
|
|
|
|
|
i++;
|
|
|
|
i = square (i);
|
|
|
|
i--;
|
1999-06-28 16:06:02 +00:00
|
|
|
return 0;
|
1999-04-16 01:35:26 +00:00
|
|
|
}
|