int main() { int my array[3][3] = 10, 23, 42, 1, 654, 0, 40652, 22, 0 }; printf(\"%d\\n\", my_array[3][3]); return 0; }
You could try this:
#include int main() { int i,j; int my_array[3][3] ={10, 23, 42, 1, 654, 0, 40652, 22, 0}; for(i = 0; i < 3; i++) { for(j = 0; j < 3; j++) { printf("%d ", my_array[i][j]); } printf("\n"); } return 0; }