网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为()

A.6

B.5

C.1

D.2


参考答案

更多 “ 若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为() A.6B.5C.1D.2 ” 相关考题
考题 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11S 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义:inta=2;则语句a=strcmp("miss","miss");运行后a的值为() A.1B.0C.-1D.2

考题 若有定义:int a=1,b=2,c=3;则语句++a||++b运行后b的值为() A.1B.0C.2D.3

考题 若有定义“inta=5,b=7;”,则表达式a%=(b%2)运算后,a的值为( )。A.0B.1C.11SX 若有定义“inta=5,b=7;”,则表达式a%=(b%2)运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义:int a; 则语句a=(3 * 4)+ 2 % 3;运行后,a的值为()。A.12B.14C.13D.11

考题 若有定义语句“int a[5]={1,2,5};”则printf("%d",++a[3])的输出值是()。

考题 若有定义语句”int a[3][4]={{1,2},{0},{6,4,7,10}};”则初始化后,a[1][2]的值为().

考题 若有定义:int a[5]={1,2,3,4,5};则语句a[1]=a[3]+a[2+2]-a[3-1];运行后a[1]的值为()A.6B.5C.1D.2

考题 若有定义:int a[5]={1,2,3,4,5};则语句a[1]=a[3]+a[2+2]-a[3-1];运行后a[1]的值为()A.6B.2C.5D.1