I think you're assuming this is harder than it really is.

You've been given the prototype. Why have you changed the return type to Void? You can't return something from a void function.

What is length? HINT - THIS IS A MAJOR CLUE
What is info[]? HINT - THIS IS ANOTHER MAJOR CLUE

What does the function have to return? Do you think it might have something to do with info[] and length? HINT - YES AND YES.

Why do you think you need to test if the pointer in the last item is NULL?