Informatica interview question

Reverse a linked list using single pointer in C