| 1 |
void |
| 2 |
lotsOfArgs |
| 3 |
( |
| 4 |
int firstArg, |
| 5 |
int secondArg, |
| 6 |
int thirdArg, |
| 7 |
int fourthArg |
| 8 |
) |
| 9 |
{ |
| 10 |
int x = firstArg + secondArg + thirdArg + fourthArg; |
| 11 |
} |
| 12 |
|
| 13 |
int |
| 14 |
modifyInt(int incoming) |
| 15 |
{ |
| 16 |
return incoming % 2; |
| 17 |
} |
| 18 |
|
| 19 |
int |
| 20 |
main (int argc, char **argv) |
| 21 |
{ |
| 22 |
if (argc > 0) |
| 23 |
{ |
| 24 |
int var_makes_block = argc + 1; |
| 25 |
int dummy = 0; // Break here to try targetted stepping. |
| 26 |
lotsOfArgs(var_makes_block, |
| 27 |
modifyInt(20), |
| 28 |
30, |
| 29 |
modifyInt(40)); |
| 30 |
int abc = 0; // Done calling lotsOfArgs. |
| 31 |
} |
| 32 |
return 0; // All done. |
| 33 |
} |