What is the output?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the output??

What is the output of : #include <iostream.h> #include<dos.h> #include<complex.h> using namespace std; int main() { complex z(1,2); float x=arg(z); complex y=conj(z); cout<<x<<" "<<" "<<y; sleep(10); }

11th Oct 2016, 5:55 PM
miss comp engineer
miss comp engineer - avatar
1 Answer
0
1:21: warning: extra tokens at end of #include directive /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status http://cpp.sh/
11th Oct 2016, 11:53 PM
Navid Tak
Navid Tak - avatar