Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//don't run
#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
int dat[2][5] = {{1, 2, 3, 4, 5},
{7, 9, 0, 2, 4}};
for(int i=0;i<2;i++)
{
for(int j=0;j<5;j++)
{
cout<<dat[i][j];
cout<<" ";
}
cout<<endl;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment