// File: main.c // Demo of external reference #include #include "gcd.h" void main() {int x,y; iStruct res; printf("Find the Greatest Common Divisor\n"); printf("Enter two integers >"); scanf("%d %d",&x,&y); res=gcd(x,y); printf(" is %d \n",res.value); }