title: How to pass a function that calls a two dimensional array as a parameter?
body: <pre><code>char board[][]=printBoard(board);
    printBoard(board);
  
  
   public char[][] printBoard (char [][] test){
      char[][] game = {
  
       {'_','1','2','3'}, 
       {'1','_', '_', '_'},
       {'2','_', '_', '_'},
       {'3','_', '_', '_'}
    };
    return game; 
  }
  </code></pre>
  
  <p>Hi, I am was wondering how to call my printBoard function? Nothing in printBoard is highlighted in red so I think the problem is that I am not calling it correctly. Thanks for the help.I'm trying to put the board in it's own function and then call it by using the 2d array variable board[][]. I'm trying to make a tic tac toe game. When i run this it doesn't print the board.</p>