若有以下的说明,则对初值中整数2的引用方式为()
staticstruct
{charch;
inti;
doublex;
}arr[3][3]={{'a',l,3.45},{'b',2,7.89},{'c',3,1.93}};
A.arr[0][1].ch B.arr[0][1].i C.arr[0][0].i D.arr[0][2].i正确答案B
若有以下的说明,则对初值中整数2的引用方式为()
staticstruct
{charch;
inti;
doublex;
}arr[3][3]={{'a',l,3.45},{'b',2,7.89},{'c',3,1.93}};
A.arr[0][1].ch B.arr[0][1].i C.arr[0][0].i D.arr[0][2].i正确答案B