I have a[][] delcared as a static char array in main, and this function is called from another one with parametrs inputed by the user. I want to put the letter A, at the position provided by x an y, however, it says x and y are never used in fucntion array.Code:void array(int x, int y) { a[x][y] = 'A'; }
Why is this occuring?
Thanks