Q135
What will be the output of the following C++ code? #include #include using namespace std; int main() complex c1(4.0, 16.0), c2; c2 = pow(c1, 2.0); cout << c2; return 0;
A.
(-240, 128)
AnswerB.
(240, 128)
C.
(240, 120)
D.
(240, -122)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board