using the preserving the property of X-OR. On Fri, Aug 26, 2011 at 9:35 AM, siddharam suresh <[email protected]>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 > <[email protected]>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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
