Multidimensional and Two Dimensional Arrays in c++
This video tutorial explains the multidimensional arrays in c++.
You will learn what is a two dimensional array,how to declare a two dimensional array,how to initialize a two dimensional array,how to retrieve the values from a two dimensional array in detail with examples.
source code for this tutorial
#include <iostream>
using namespace std;
int main()
{
int marks[2][6] ;
marks[0][2] = 10;
cout << marks[0][2];
return 0;
}