I am currently running into an issue trying to manipulate a 2D char array from an external function.
char* board[] = {
"first\r\n",
"second\r\n",
"third\r\n"
};
Later in the program, I want to manipulate an arbitrary single character in the array with
board[x][y] = 'A';
However when I reprint the board, the original values still persist. The desired outcome of
board[0][0] = 'A';
Should be:
Airst
Second
Third
However it still prints as the original "First", indicating that board's value never got changed. How do I fix this to update board's value?