1.

Which function is used to calculate the conjugate of a complex number?(a) conj()(b) reverse()(c) opp()(d) find_conj()The question was posed to me in unit test.My query is from Complex Library in division Class Hierarchies, Library & Containers of C++

Answer»

Correct choice is (a) conj()

Easiest explanation - <COMPLEX> header provides conj() FUNCTION to calculate the CONJUGATE of a complex NUMBER.



Discussion

No Comment Found

Related InterviewSolutions