By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Why y^=x^=y^=x doesn't work

P: n/a
Anyone know why this doesn't work? (In ECMAscript, I haven't tried in C* yet)

y^=x^=y^=x;

This does

x^=y^=x;y^=x;
Oct 8 '10 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 2,396
What would you like this line to accomplish?
Oct 8 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.