1.

What is the use of proj() function?(a) Used to calculate the argument of a complex number(b) Used to calculate the conjugate of a complex number(c) Used to calculate the negative of a complex number(d) Used to calculate the projection of a complex numberI have been asked this question by my school teacher while I was bunking the class.My doubt is from Complex Library in chapter Class Hierarchies, Library & Containers of C++

Answer»

Correct CHOICE is (d) Used to calculate the projection of a COMPLEX number

The BEST explanation: HEADER PROVIDES proj() function to calculate the projection of a complex number a + ib.



Discussion

No Comment Found

Related InterviewSolutions