#include <stdio.h>
int substract(int a, int b){
printf("substract has been called with %d,%d\n",a,b);
return b-a;
}
int main(){
int x,i;
x=substract(1,8)+substract(9,1);
for(i=0; i<10; i++){
substract(i,10);
}
printf("output is %d",x);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: