Rectangle 27 0

I need to write a program in C that takes command line input, puts it into a string array, and prints that arrayprints in reverse?


Okay, I give you points for actually trying and not just asking us to write this for you, but I must say you're doing too much. The code you need, based on your description, can be much simpler. I don't want to do it for you, though, so I'll give you some pointers:

So I dont need to copy the array into a new array? I would need to modify the array using a pointer in a function right?Also Thank you for the help so far, especially the suggestions with the loops.

There is no need to modify the array. You can just traverse it backwards and print each value from it as you go.

Note
Rectangle 27 0

I need to write a program in C that takes command line input, puts it into a string array, and prints that arrayprints in reverse?


Okay, I give you points for actually trying and not just asking us to write this for you, but I must say you're doing too much. The code you need, based on your description, can be much simpler. I don't want to do it for you, though, so I'll give you some pointers:

So I dont need to copy the array into a new array? I would need to modify the array using a pointer in a function right?Also Thank you for the help so far, especially the suggestions with the loops.

There is no need to modify the array. You can just traverse it backwards and print each value from it as you go.

Note