![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
设x为int型变量、则执行以下语句以后,x的值为()。x=10;x+=x;
A.19
B.20
C.21
D.22
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.19
B.20
C.21
D.22
设x和y均为int型变量,则以下for循环中的scanf语句最多可执行的次数是【】.for(x=0,y=0;y!=123&&x<3;x++)scanf("%d",&y);
A.b,float型变量x、y,char型变量ch均已正确定义并赋值,正确的switch语句是()。选项格式
B.switch(x+y)
C.switch(ch+1){}{}
D.switchch
E.switch(a+b);{}{}
A、3
B、5
C、4
D、3.5
A.a的值是字符C'
B.a的值是浮点型
C.不允许字符型和浮点型相加
D.a的值是字符“A”的ASCII值加上1
A.int(*p)(int,int)
B.int*p(int,int)
C.int*p[int,int]
D.以上选项都不对