#include <iostream>
#include <vector>
#include <array>
using namespace std;
//Empty array;
vector<int> n1;
// Single-dimensional array
array<int, 3> n2 = { 1, 2, 3 };
vector<int> n3 { 1, 2, 3 };
string s1[] { "1", "2", "3" };
// Multidimensional array.
int n4[2][2] = {{1, 2}, {4, 5}};
int n5[2][3] = {1, 2, 3, 4, 5, 6};
n5[1][2] = 7;
// Jagged array
vector<vector<int>> n6 = {{ 1, 2 }, {3, 4, 5 }};
cout << "n2[0] is " << n2[0] << endl;
cout << "n3[1] is " << n3[1] << endl;
cout << "s1[2] is " << s1[2] << endl;
cout << "n4[1][1] is " << n4[1][1] << endl;
cout << "n5[0][1] is " << n5[0][1] << endl;
cout << "n6[1][1] is " << n6[1][1] << endl;