// Print a 2D array of characters. #include #define N_ROWS 6 #define N_COLS 12 char flag[N_ROWS][N_COLS] = { {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'} }; int main(void) { for (int row = 0; row < N_ROWS; row++) { for (int col = 0; col < N_COLS; col++) { printf("%c", flag[row][col]); } printf("\n"); } }