@rahul:

when i tried the following i got an error

int a=3,b=2;

printf("%p", (&a)^(&b));

On 24 November 2011 06:28, rahul sharma <rahul23111...@gmail.com> wrote:

> address can be xored easily with xor operator...
>
> http://www.geeksforgeeks.org/archives/12367
>
> On Thu, Nov 24, 2011 at 7:37 PM, kumar raja <rajkumar.cs...@gmail.com>wrote:
>
>>
>> http://en.wikipedia.org/wiki/XOR_linked_list
>>
>> In this link i have seen about Xor linked list ,but my doubt is how will
>> u perform xor on Address of nodes.
>>
>> I have tried to perform xor on addresses of two values ,so how is it
>> possible to use that technique.
>>
>> Also tell me whether there are any extra rules to follow during
>> insert,delete and search
>> --
>> Regards
>> Kumar Raja
>> M.Tech(SIT)
>> IIT Kharagpur,
>> 10it60...@iitkgp.ac.in
>>
>>
>>  --
>> 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.
>



-- 
Regards
Kumar Raja
M.Tech(SIT)
IIT Kharagpur,
10it60...@iitkgp.ac.in

-- 
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