What will be the output of the following C++ code? [code] #include <iostream> #include <complex> using namespace std; int main() { complex

What will be the output of the following C++ code?
Code:
#include <iostream>
#include <complex>
using namespace std;
int main()
{
	complex <double> cn(3.0, 5.0);
	cout<<arg(cn)<<endl;
	return 0;
}
A. 1.03038
B. 0
C. Not defined
D. Error
 

Tìm kiếm

Back
Top