[Logo]
Forums Register Login
Copying arguments in C
i want to moved the position of the argument passed in the terminal using a function and a while loop, my problem is that the last argument passed has no place to be copied to, and i want it to be copied to the 1st argument.the code below describes everything

  

  
Not sure the code describes everything. Are you expecting 1 or 2 or many arguments on the command line? Maybe provide the command line syntax? (exec arg1 arg2 arg3)

This thread has been viewed 205 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 15, 2018 18:13:24.