C program to add two complex numbers

C program to add two complex numbers

Output:

Enter the real & Imaginary part of num1:
1 2
Enter the real & Imaginary part of num2:
3 4
The sum of 1+2i and 3+4i is 4+6i

Implementation: