Vidyalelo
C++ Programming · Q494

C++ miscellaneous

Programming · C++ Programming · question 494

Q494

Which of the following is the correct syntax of declaring a complex number?

A.
complex variable_name<type>;
B.
complex<type> variable_name;
Answer
C.
Complex<type> variable_name;
D.
None of the above

Answer: Option B

Solution

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