Apple interview question

Reverse an linked list using C.