![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[主观题]
有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); }
有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); } 程序运行后的输出结果是()。
A.tuv
B.字符t的ASCIl码值
C.t
D.出错
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); } 程序运行后的输出结果是()。
A.tuv
B.字符t的ASCIl码值
C.t
D.出错
A.cde
B.字符c的ASCII码值
C.字符c的地址
D.出错
A.cde
B.字符c的ASCII码值
C.字符c的地址
D.出错
A.E,69
B.D,69
C.E,D
D.输出无定值
A.BY
B.BT
C.YT
D.YE
#include<stdio.h>
main()
{ char*S={"abc"}:
do
{printf("%d",*s%10);++s;}
while(*s);
}
程序运行后的输出结果是
A.abc
B.789
C.7890
D.979899
A.A
B.B
C.C
D.D
A.c程序在运行过程中所有计算都以十进制方式进行
B.c程序在运行过程中所有计算都以二进制方式进行
C.所有C程序都需要编译链接无误后才能运行
D.c程序中字符变量存放的是字符的ASCIl值