You are on page 1of 1

#include <stdio.

h>

int fun();

int main(){

int a, b;
b = a + fun();
printf("With the finction call on the right, ");
printf(" b is : %d\n", b);
a = 10;
b = fun() + a;
printf("With the function call on the left, ");
printf(" b is: %d\n", b);
return 0;
}

int fun(){
return a + 10;
}

You might also like