logo CodeStepByStep logo

print_reverse

Language/Type: C ArrayList collections
Related Links:
Author: Allison Obourn (on 2020/09/14)

Write a function named print_reverse that takes an array of strings and a length as parameters and prints the strings in it from the end of the list to the beginning separated by spaces. For example if an array a stores {"the", "cat", "in", "the", "hat"}, the call of print_reverse(a, 5) should print:

hat the in cat the
Function: Write a C function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.