Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how do i make a complex number in C~

+4 votes
asked Nov 20, 2025 by Kobby Neizer (160 points)

2 Answers

+1 vote
answered Nov 23, 2025 by Abhiram rangavajhala (390 points)
Use the complex .h header file, and that's all I know.
0 votes
answered Dec 21, 2025 by Nizamuddin Shaik (140 points)
you use complex data types ( like float_complex,double_complex)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...