Linked List Swap Two nodes, getting segmentation fault

1
2
/* Given a Linked List you are supposed to swap two nodes
The values of two nodes are say i and j */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.