Vidyalelo
C++ Programming · Q482

C++ miscellaneous

Programming · C++ Programming · question 482

Q482

What will be the output of the following C++ code? #include #include using namespace std; int main() complex cn(3.0, 4.0); cout<<log(cn)<<endl; return 0;

A.
1.60944
B.
(1.60944,0.927295)
Answer
C.
0.927295
D.
1.60944 + 0.927295

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board