I'm kinda concerned about not being able to pass arrays to functions.
Would be just be better to make the array global?
here's an example.
I'm making a text based tic-tac-toe game.
I wanted to have functions for the follow things:
1. initialize the array.
2. Updating the array on player's 1 turn
3. Updating the array on player's 2/computer's turn
but now I have to put them all in main. I kinda don't like that and thought it would be better to have functions to do these things.
So I ask again, would it just be better to make the array global?