fork download
  1. #include<iostream>
  2. #include<cmath>
  3. using namespace std;
  4. int main()
  5. {
  6. int a, b;
  7.  
  8. cin>>a>>b;
  9. cout<< a = b << b = a;
  10.  
  11. cin.get();
  12. cin.get();
  13.  
  14. return 0;
  15.  
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
2 3
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:9:19: error: lvalue required as left operand of assignment
 cout<< a = b << b = a;
                   ^
stdout
Standard output is empty