text: Reverse the XOR Linked List to give head -- > 10 < -- > 20 < -- > 30 < -- > 40
code: printf ( " XOR ▁ linked ▁ list : ▁ " ) ; printList ( & head ) ; reverse ( & head ) ; printf ( " Reversed ▁ XOR ▁ linked ▁ list : ▁ " ) ; printList ( & head ) ; return ( 0 ) ; }