#include // Constants in C #define ROWS 2 #define COLS 3 int main() { // An array of strings const char * const arr_str[] = {"o o", " . ", "\\_/"}; for ( size_t i = 0; i < 3; ++i ) printf("%s\n", arr_str[i]); printf("\n\n"); // A matrix of integers const int mat_int[ROWS][COLS] = {{1,2}, {4,5,6}}; for ( size_t i = 0; i < ROWS; ++i ) { for ( size_t j = 0; j < COLS; ++j ) printf("%i ", mat_int[i][j]); printf("\n"); } printf("\n\n"); // A matrix of chars const char mat_chr[ROWS][COLS] = {{'/', '-', '\\'},{'\\', '-', '/'}}; for ( size_t i = 0; i < ROWS; ++i ) { for ( size_t j = 0; j < COLS; ++j ) printf("%c ", mat_chr[i][j]); printf("\n"); } printf("\n"); return 0; }