Here's my code
#include <stdio.h>
#include <math.h>
int main()
{
int d, a[3][3] = {{2, 4, 5}, {6, 7, 8}, {9, 10, 11}};
for (d = 0; d < 5; d++)
{
printf("a[%d] = %d\n\n", d, a[d]);
}
return 0;
}
i'm getting the output
a[0] = 6422048
a[1] = 6422060
a[2] = 6422072
a[3] = 6422084
a[4] = 6422096
i'm curious about where did those values come from, and why is it incrementing by 12?
d == 4and so on