diff options
Diffstat (limited to 'test1.c')
-rw-r--r-- | test1.c | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#include "stdio.h" + +extern int random (); + +int func1 (int a, int b) +{ + return a+b; +} + +int main (void) +{ + int a, b; + + a = random (); + if (a) + a = a + func1 (a, b); + + printf ("result=%d\n", a); + + return 0; +} |