1int main()
2{
3 int arr[2][5] =
4 {
5 {1,8,12,20,25},
6 {5,9,13,24,26}
7 };
8}
9
1#include <array>
22 #include <iostream>
33
44 using namespace std;
55
66 //remember const!
77 const int ROWS = 2;
88 const int COLS = 3;
9
10
11int main(){
12 array<array<int, COLS>, ROWS> matrix = {
13 1, 2, 3,
14 4, 5, 6
15 };
16
17
18 return 0;
19}