int main(){ int marks[2][4]={{45,234,8,7},{3,5,3,6}}; for(int i=0; i<2; i++){ for(int j=0; j<4; j++){ // printf("the value of %d,%d element od array is %d\n",i,j,marks[i][j]); printf("%d ",marks[i][j]); } printf("\n"); } return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter