Skip to content

Instantly share code, notes, and snippets.

@Khuirul-Huda
Created July 10, 2022 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Khuirul-Huda/2adce3e22b17f18717232ec5f478cb80 to your computer and use it in GitHub Desktop.
Save Khuirul-Huda/2adce3e22b17f18717232ec5f478cb80 to your computer and use it in GitHub Desktop.
//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