Yes you are correct. and following is the reason... analyze following assembly code temp = x mov eax,dword ptr [x] mov...
a^=b is equivalent to a = a ^ b
This can be done in Macro also… Try this… #define SWAP (A, B) struct tempStruct { char C[sizeof(A)];} swap_tmp;\ swap_tmp = *( struct...
Here is a suggestion... Using ^ operator is not the best way of swapping two values. Just consider is soemone try to SWAP same variable, like...
Separate names with a comma.