若有int a[8]={1,2,3,4,5,6,7,8};,则a[a[0]+2*a[2]]的值是A5B67C8D

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 22:27:53

若有int a[8]={1,2,3,4,5,6,7,8};,则a[a[0]+2*a[2]]的值是A5B67C8D
若有int a[8]={1,2,3,4,5,6,7,8};,则a[a[0]+2*a[2]]的值是
A5
B6
7C
8D

若有int a[8]={1,2,3,4,5,6,7,8};,则a[a[0]+2*a[2]]的值是A5B67C8D
a[0]=1
a[2]=3
a[0]+2*a[2]=7
a[7]=8 答案选 D