Pregunta de entrevista de DNAnexus

How to reverse a C-array? How to reverse a linked list? How would you go about debugging?