A.输入
C.练习
D.示例
[单选题]有如下语句:str1=InputBox(“输入 ”,” ”,”联系 ”)从键盘上输入字符串“学生”后,str1的值为( )A.“输入”B.“ ”C.“联系”D.“学生”
[单选题]设有语句:char str1[]="string", str2[8], *ste3, *str4="string";,则下列不是对库函数 strcpy的正确调用的是______。A.strcpy(str1,"HELLOI");B.strcpy(str2,"HELLO2");C.strcpy(str3,"HELLOY");D.strcpy(str4,"HELLO4");
[单选题]设有语句:char str1[]="string",str2[8],*str3,*str4="string";,则下列对库函数strcpy调用不正确的是( )。A.strcpy(str1,"Hellol");B.strcpy(str2,"Hello2");C.strcpy(str3,"Hello3");D.strcpy(str4,"Henllo4");
[单选题]设有语句:char str1[]="string",str2[8],*str3,*str4="string";,则下列对库函数strcpy调用不正确的是A.strcpy (str1,"Hello1");B.strcpy(str2, "Hello2");C.strcpy(str3, "Hell03");D.strcpy(str4, "Hell04");
[单选题]设有语句: char str1[]="string",str2[8],*str3,*str4="string"; 则下列对库函数strcpy()调用不正确的是( )。A.strcpy(str1,"Hell01");B.strcpy(str2,"Hell02");C.strcpy(str3,"Hell03");D.strcpy(str4,"Hell04");
[单选题]己知str1="opqrst",执行str=Right(str1,2)后,返回( )。A.opB.qrC.stD.pq
[单选题]设有如下语句:D.im a,b As Integerc="VisualBasic"d=#7/20/2005#以下关于这段代码的叙述中,错误的是( )。A.a被定义为Integer类型变量B.b被定义为Integer类型变量C.c中的数据是字符串D.d中的数据是日期类型
[单选题]设有如下语句: Dim a,b As Integer c="VisualBasic" d=#7/20/2005# 以下关于这段代码的叙述中,错误的是( )。A.a被定义为Integer类型变量B.b被定义为Integer类型变量C.c中的数据是字符串D.d中的数据是日期类型
[单选题]设有说明语句如下: static char str[]="Beijing"; 若执行下列输出语句: printf("%d/n",strlen(strcpy(str,"China")));则输出结果为( )。A.5B.7C.12D.14
[单选题]设有如下定义:intx=l,y=-1;,则语句:printf(""%d/n"",(x--&++y));的输出结果是()A . 1B . 0C . -1D . 2