I think there is something wrong with your topic. The value of each element in the array is equal to the number of rows where the element is located *5+ the number of rows where the element is located. This sentence is misspelled. You should add the number of columns where the element is located, otherwise it is directly the number of rows where the element is located *6.
# contains "stdio.h"
void main() {
int array[3][4],I,j;
for(I = 0; I < = 2; i++) {
for(j = 0; j & lt=3; j++) {
array[I][j]= I * 5+j;
}
}
for(I = 0; I < = 2; i++) {
for(j = 0; j & lt=3; j++) {
printf("%d\t ",array[I][j]);
}
printf(" \ n ");
}
}