Home » C++ Programming » Numbers » Question
  1. How to declare the complex number?
    1. complex(5,6)
    2. (5,6i)
    3. (5,6)
    4. All of above
    5. None of these
Correct Option: A

We can declare the complex number by using complex(5,6) where 5 is a real number and 6 is imaginary part.



Your comments will be displayed only after manual approval.