Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Forum » x-Forum » Question

can anyone explain the logic?-CppBuzz-Forum

#include <iostream>
using namespace std;

int main()
{
int x=29,y=5;
x=(x+y)-(y=x);//this line
cout<<x<<endl<<y;
	return 0;
}

Posted by polo123 2020-12-04 10:37:48

No Ans Posted

Please login to comment

Log In


Ask New Question