Skip to content

Instantly share code, notes, and snippets.

@luzzardi
Last active August 29, 2015 14:21
Show Gist options
  • Save luzzardi/46f2579f3b4c20e3b968 to your computer and use it in GitHub Desktop.
Save luzzardi/46f2579f3b4c20e3b968 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main()
{
int m[10][10];
int i=0, j=0;
for(i=0; i<10; i++) {
for(j=0; j<10; j++) {
m[i][j]=rand()%100;
}
}
for(i=0; i<10; i++) {
for(j=0; j<10; j++) {
printf("%d ,", m[i][j]);
}
printf("\n");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment