#include /* to add up two integers and return the sum */ int add(int a, int b){ a += b; return a; } /* to add up two integers and print the result on the screen */ void add_prt(int a, int b) { int c=add(a,b); printf("%d + %d = %d\n", a, b, c); } int main(){ int a = 3; int b = 5; int c = add(3,5); printf("c = add(3,5)\t"); printf("3 + 5 = %d\n",c); c = add(a,b); printf("c = add(a,b)\t"); printf("%d + %d = %d\n", a, b, c); c = add(a,b) - 2; printf("c = add(a,b)-2\t"); printf("%d + %d - 2 = %d\n", a, b, c); printf("add_prt(3,5)\t"); add_prt(3,5); }