title: Concatenating C strings
body: <pre><code>    #include &lt;stdio.h&gt;
      #include &lt;stdlib.h&gt;
      #include &lt;time.h&gt;
      #include &lt;string.h&gt;
      int main(void){ 
      char pos[4][4];
      char loc[4];
      int i;
  
      for(i=0;i&lt;4;i++){
          pos[i][0]=4;
          pos[i][1]=4;
          pos[i][2]=4;
          pos[i][3]=4;
      } loc[i]=" ";
      strcat(loc[i],pos[i]);
  }
  </code></pre>
  
  <p>I am trying to save all the contents of pos[i] in a concatenated
  string. I am not sure how to go about this.  I would appreciate any tips.</p>