int main(void) { struct complex a; struct complex b; a=getcomplex(); b=getcomplex(); struct complex c=add(a,b); showcomplex(c); return 0; }
int main() { struct complex a,b,c; printf ("enter the two complex no to be added"); a=getcomplex(); b=getcomplex(); c=add(a,b); showcomplex(c); return 0; }