#include<iostream> #include<cmath> using namespace std; int main() { int a, b; cin>>a>>b; cout<< a = b << b = a; cin.get(); cin.get(); return 0; }
2 3
prog.cpp: In function ‘int main()’: prog.cpp:9:19: error: lvalue required as left operand of assignment cout<< a = b << b = a; ^
Standard output is empty