/* File: addtest.c This file has the main program for demonstrating separate compilation. */ #include /* The following include statement uses quotes ("") instead of angle brackets (<>) because the file addi.h is in the same directory. */ #include "addi.h" int main() { int num ; printf("Enter a number: ") ; scanf("%d", &num) ; printf("%d + 5 is %d\n", num, add5(num) ) ; printf("%d + 7 is %d\n", num, add7(num) ) ; printf("%d + 9 is %d\n", num, add9(num) ) ; return 0 ; }