在int a[5]={1,3,5};中,数组元素a[1]的值是( )在int b[][3]={{1},{3,2},{4,5,6},{0}};中a[2][2]的值是( )

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/09 17:49:16
在int a[5]={1,3,5};中,数组元素a[1]的值是( )在int b[][3]={{1},{3,2},{4,5,6},{0}};中a[2][2]的值是( )

在int a[5]={1,3,5};中,数组元素a[1]的值是( )在int b[][3]={{1},{3,2},{4,5,6},{0}};中a[2][2]的值是( )
在int a[5]={1,3,5};中,数组元素a[1]的值是( )
在int b[][3]={{1},{3,2},{4,5,6},{0}};中a[2][2]的值是( )

在int a[5]={1,3,5};中,数组元素a[1]的值是( )在int b[][3]={{1},{3,2},{4,5,6},{0}};中a[2][2]的值是( )
3
int a[5]={1,3,5};即是int a[5]={1,3,5,0,0};
数组从a[0]开始计算的.即是 a[0]=1,a[1]=3……
int b[][3]={{1},{3,2},{4,5,6},{0}};即是int b[4][3]={{1,0,0},{3,2,0},{4,5,6},{0,0,0}};
b[2][2]=6