Which function is used to get the real part of the complex number?
(a) img_p()
(b) imag_p()
(c) real()
(d) real_p()
I have been asked this question in an interview for internship.
I would like to ask this question from Complex Library topic in division Class Hierarchies, Library & Containers of C++