Vidyalelo
C++ Programming · Q197

C++ miscellaneous

Programming · C++ Programming · question 197

Q197

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

A.
1.03038
Answer
B.
0
C.
Not defined
D.
Error

Answer: Option A

Solution

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