Two-dimensional array C++

Hello i need help in answer ,, what is output?
#include <iostream>
using namespace std;
void main()
{
int a[3][3]={{1,2},{3,4},{5,7}}
for(int i=2;i>=0;i++)
for(int k=2;k>0;k--)
cout<<a[i][k]
}

what is output?
Try stepping through the code yourself using a pencil/paper. Either that or you can use a debugger and see what it does yourself.
Topic archived. No new replies allowed.