using the preserving the property of X-OR.

On Fri, Aug 26, 2011 at 9:35 AM, siddharam suresh
<siddharam....@gmail.com>wrote:

> gives an error as b is undeclared.
> BTW this prog swaps 2 number.
>
> Thank you,
> Siddharam
>
>
>
> On Fri, Aug 26, 2011 at 9:28 AM, SuDhir mIsHra 
> <sudhir08.mis...@gmail.com>wrote:
>
>> main()
>>
>> {
>>
>> int a=10,20;
>>
>> a^=b^=a^=b;
>>
>> printf("%d\n %d\n",a,b);
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Abhishek Gupta
MCA
NIT Calicut
Kerela

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to