title: Reverse command-line arguments (C)
body: <p>The overall gist of the program is to accept a command-line argument and for each string to print out backwards with variable length.</p>
  
  <p>For example: </p>
  
  <pre><code>$ ./reversecommand hello 102
  dnammocesrever/. olleh 201
  </code></pre>
  
  <p>I am having difficulty in implementing the thought process into code (e.g. with hello below). Any thoughts? </p>
  
  <pre><code>argc[0] ./reversecommand 
  argc[1] hello
  argc[1][0] h -&gt; argc[1][4] o
  argc[1][1] e -&gt; argc[1][3] l
  argc[1][2] l -&gt; argc[1][2] l
  argc[1][3] l -&gt; argc[1][1] e
  argc[1][4] o -&gt; argc[1][0] h
  argc[2] 102
  argc[3] [null]
  </code></pre>