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.
