Vidyalelo
C++ Programming · Q362

C++ miscellaneous

Programming · C++ Programming · question 362

Q362

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

A.
9
B.
16
C.
25
Answer
D.
5

Answer: Option C

Solution

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