what does below code do in c?
a ^= b^ = a^ = b;
it will swap the values of a and b
it will swap addresses of a and b
it doubles the values of a and b
it jumbles values of a and b, but finally it will not be swapped.
this is one of the technique used to swap two variable values. but as per ANSI standards, this may not work for 2 scenarios and with some compilers.
Back To Top