What is the output of the following code ( ).#include [stdio.h]main( ){ int n[3][3], i, j; for(i=0;i<3;i++ ) for(j=0;j<3;j++ ) n[i][j]=i+j; for(i=0; i<2;i++ ) for(j=0;j<2;j++ ) n[i+1][j+1]+=n[i][j]; printf("%d\n", n[i][j]);}[/i][/i][/i]
选项:
A:14
B:0
C:6
D:Not sure
发布时间:2024-06-15 17:27:06