You asked how do to get the last argument from argv and you were told
argv[argc-1] that's a great answer.
You asked how you access all of argv[] and your were told to loop them, and that is also a good answer.

Do you have a new question? If so just ask it.
But most people also show the code they have tried to let others know you have put some effort into solving your problem.

Dylan