hello every body here i got some problem with assign value to arrays, so i want to print multiplication table of the arrays:
#include <stdio.h>
int main(){
int x=5;
int y=5;
int i,j;
int tab[x][y];
for( i=0; i<x; i=i+1){
tab[i][j]=i;
for(j=0; j<y; j=j+1){
tab[i][j]=i;
printf("%d", tab[x][y]);
}
printf("\n");
}
return 0;
}
i'm getting like
00000
00000
00000
00000
00000