1.

Which of the following is the correct syntax of declaring a complex number?(a) complex variable_name;(b) complex variable_name;(c) Complex variable_name;(d) Complex variable_name;The question was asked in an interview.My question is from Complex Library topic in section Class Hierarchies, Library & Containers of C++

Answer»

Correct answer is (B) complex variable_name;

Best explanation: The correct SYNTAX of DECLARING a complex number OBJECT is complex variable_name.



Discussion

No Comment Found

Related InterviewSolutions