1.

Which function is used to get the absolute of a complex number?(a) ret()(b) norm()(c) mod()(d) abs()I had been asked this question in an interview.My question is based upon Complex Library topic in portion Class Hierarchies, Library & Containers of C++

Answer»

Correct OPTION is (d) ABS()

Explanation: abs() FUNCTION is provided by theheader to calculate the absolute value of a complex number.



Discussion

No Comment Found

Related InterviewSolutions