2 dimensional array cpp code example
Example: multidimensional array c++
int MyArray[2][3] = { {2, 3, 4}, {12, 13, 14} };
//visualize
//2, 3, 4
//12, 13, 14
std::cout << MyArray[0][2] << endl; // 4
std::cout << MyArray[1][1] << endl; // 13
//First square bracket means how many rows you want in your array
//Second squire bracket is for how many qulam you want in your array