How to reverse a linked list by traversing only once.?

Program to reverse a linked list by traversing only once.

Is this a task assignment for the honored readers? Thread closed.