alogritm of Write a C program to add complex numbers by passing structure to a function.
Answers
Answered by
2
Answer:
We then created two variables n1 and n2 from this structure. These two structure variables are passed to the add() function. The function computes the sum and returns the structure containing the sum. Finally, the sum of complex numbers is printed from the main() function.
Similar questions