title: Functions in c language format transposing 2 arrays
body: <p>So, my functions in my code don't talk to each other and I cannot for the life of me figure it out. What do you put in the parenthesis of the function headings. the variable names go in them but how are they formatted? Do I need pointers? If so can someone explain them. Thanks!</p>
  <p>int FindTranspose(????)</p>
  <p>int main(????)</p>
  <p>FindTranspose (????)</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int FindTranspose(int before[3][3], int after[3][3], int i, int j){
      int rows, columns;
      printf(&quot;\nThe orginial matrix: \n&quot;);
      for(i=0;i&lt;3;i++){
          printf(&quot;\n&quot;);
          for(j=0;j&lt;3;j++){
              printf(&quot;%d &quot;, before[i][j]);
          }
      }
      for(rows = 0; rows &lt; i; rows++){
          for(columns = 0;columns &lt; j; columns++){
              after[columns][rows] = before[rows][columns];
          }
      }
      printf(&quot;\n&quot;);
      printf(&quot;\nThe Transpose of the matrix: \n&quot;);
      printf(&quot;\n&quot;);
      for(rows = 0; rows &lt; j; rows++){
          for(columns = 0; columns &lt; i; columns++){
              printf(&quot;%d &quot;, after[rows][columns]);
          }
      printf(&quot;\n&quot;);
      }
  }
  
  int main(){
      int before[3][3], after[3][3], i, j;
      for(i=0;i&lt;3;i++){
          for(j=0;j&lt;3;j++){
              printf(&quot;Enter number for array - [%d],[%d] : &quot;,i,j);
              scanf(&quot;%d&quot;, &amp;before[i][j]);
          }
      }
      FindTranspose (before[3][3], after[3][3], i, j);
      return 0;
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/LsTGg.png" rel="nofollow noreferrer">Picture of code</a></p>
  <p><a href="https://i.stack.imgur.com/ofWKx.png" rel="nofollow noreferrer">Picture of warnings</a></p>