hi

Am trying to write a C-code that multiply two matrices

but i want the elemnets of every matrix is random number using time function

```
main()
{
srand ( time(NULL) );
int m1[10][10];
m1[10][10] = rand() % 10;
scanf("%d%d",&r1,&c1);
scanf("%d%d",&r2,&c2);
if(r2==c1)
{
.
.
.
.
}
```

this is the first matrix only

when i output tihs matrix

```
printf("First Matrix is :n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
printf("%dt",m1[i][j]);
printf("n");
}
```

i get rapish numbers in some elements

like that

```
5777072 5767844
3 1971339732
```

and i don't know why that

any one know ??

thx,,,