Vidyalelo
C++ Programming · Q928

C++ miscellaneous

Programming · C++ Programming · question 928

Q928

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

A.
(3.85374,-27.0168)
Answer
B.
3.85374
C.
-27.0168
D.
3.85374 – 27.0168

Answer: Option A

Solution

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