C How to create an 2d array of characters?
So would like to create an 2D array of characters for testing purposes. Here is my code. const int rows = 4; const int columns = 6; //char field[rows][columns]; //fill_field(rows,columns,field); char field[rows][columns] = { "A BCD ", "B CDA ", "C DAB ", "D ABC " }; I’m getting error saying "variable-sized object may not… Read More C How to create an 2d array of characters?