title: How to fix my Tic Tac Toe game’s code that only prints the top row of the board?
body: <p>My Tic Tac Toe game is working fine internally. It isn’t exactly complete, but it can place X’s and O’s on the array. However, only the top row prints out. when printboardl1, 2 and 3 are invoked.</p>
  
  <ul>
  <li>Used  sleep function</li>
  <li>Split the function into three, here’s where we are now</li>
  <li>Searched for help, question is too specific</li>
  </ul>
  
  <p>Code:</p>
  
  <pre><code>/* Put the functions themselves inside of a while loop in ascending order. Make a 2d array called tttarray, and add some X’s and O’s for examples. */ 
  void printboardl1()
  {
      printf( "%c", tttarray[1][1], "%c", tttarray[2][1], "%c", tttarray[3][1], "\n" );
  }
  void printboardl2()
  {
      printf( "%c", tttarray[1][2], "%c", tttarray[2][2], "%c", tttarray[3][2], "\n" );
  }
  void printboardl3()
  {
      printf( "%c", tttarray[1][3], "%c", tttarray[2][3], "%c", tttarray[3][3], "\n" );
  }
  </code></pre>
  
  <p>I expected the board to fully print out, but only the first row prints out.</p>