1.

Which function is used to get the argument of a complex number?(a) abs()(b) norm()(c) arg()(d) argu()This question was posed to me by my school teacher while I was bunking the class.My doubt stems from Complex Library in chapter Class Hierarchies, Library & Containers of C++

Answer» RIGHT answer is (c) ARG()

The BEST I can explain: The argument of a complex is calculated using the arg() function of the HEADER.


Discussion

No Comment Found

Related InterviewSolutions