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

题目内容 (请给出正确答案)
若有定义:inta=2;则语句a=strcmp("miss","miss");运行后a的值为()

A.1

B.0

C.-1

D.2


参考答案

更多 “ 若有定义:inta=2;则语句a=strcmp("miss","miss");运行后a的值为() A.1B.0C.-1D.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=1,b=2,c=3;则语句++a||++b运行后b的值为() A.1B.0C.2D.3

考题 以下程序段运行后a的值为()。int a=2;a=strcmp(“miss”,”miss”);A.trueB.0C.1D.-1

考题 若有定义:inta=3;,语句a+=a-=a*a;运行后a的值为()。A.-3B.-6C.-12D.0

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

考题 若有定义语句”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

考题 若有定义:int a=6; 则语句 a*=a-=a/=3; 运行后,a的值是()。A.10B.0C.34D.24