• 2022-06-15 问题

    以下能将字符串str的字母全部转换为小写字母的是( )。 A: str.upper() B: str.lower() C: str.title() D: str.index()

    以下能将字符串str的字母全部转换为小写字母的是( )。 A: str.upper() B: str.lower() C: str.title() D: str.index()

  • 2021-04-14 问题

    下列程序的运行结果为( ). void abc(char *str) { int a,b; for(a=b=0;str[a]!='\0';a++) if(str[a]!='c') {str[b]=str[a]; b++; }str[b]='\0'; } main( ) { char str[]="abcdef"; abc(str); printf("str[]=%s",str); }

    下列程序的运行结果为( ). void abc(char *str) { int a,b; for(a=b=0;str[a]!='\0';a++) if(str[a]!='c') {str[b]=str[a]; b++; }str[b]='\0'; } main( ) { char str[]="abcdef"; abc(str); printf("str[]=%s",str); }

  • 2022-06-19 问题

    以下哪一项是一个HTML元素: A: <;title>; B: <;title>;我的第一个网页<;/title>; C: <;title>;<;/title>; D: <;/title>;

    以下哪一项是一个HTML元素: A: <;title>; B: <;title>;我的第一个网页<;/title>; C: <;title>;<;/title>; D: <;/title>;

  • 2022-06-12 问题

    下列关于字符串使用正确的是() A: char str[10]; str="Hello"; B: char *str; strcpy(str,"Hello"); C: char *str1,str[10]="Hello"; strcpy(str,str1); D: char *str; str="Hello";

    下列关于字符串使用正确的是() A: char str[10]; str="Hello"; B: char *str; strcpy(str,"Hello"); C: char *str1,str[10]="Hello"; strcpy(str,str1); D: char *str; str="Hello";

  • 2021-04-14 问题

    <title></title>

    <title></title>

  • 2022-05-31 问题

    下面哪个选项不能将"hello"字符串存入字符数组str中( )。 A: char str[]="hello" ; B: char str[30]; strcpy(str, "hello"); C: char str[30];str="hello"; D: char str[30],*ps=str; strcpy(ps,"hello");

    下面哪个选项不能将"hello"字符串存入字符数组str中( )。 A: char str[]="hello" ; B: char str[30]; strcpy(str, "hello"); C: char str[30];str="hello"; D: char str[30],*ps=str; strcpy(ps,"hello");

  • 2022-06-03 问题

    以下给字符数组str定义和赋值正确的是( )。 A: char str[10]; str={"China!"}; B: char str[ ]={"China!"}; C: char str[10]; strcpy( str,"abcdefghijkl"); D: char str[10]={"abcdefghijkl"};

    以下给字符数组str定义和赋值正确的是( )。 A: char str[10]; str={"China!"}; B: char str[ ]={"China!"}; C: char str[10]; strcpy( str,"abcdefghijkl"); D: char str[10]={"abcdefghijkl"};

  • 2022-07-26 问题

    以下程序运行结果为()。 A: str>str1 B: str C: str=str1 D: str<>str1

    以下程序运行结果为()。 A: str>str1 B: str C: str=str1 D: str<>str1

  • 2022-06-03 问题

    设有定义char str&#91;80&#93;;以下不能将输入数据first\nsecond\n读取到数组str中的语句是 A: ein.get(str,strlen(str)); B: cin.getline(str,strlen(str)); C: cin>>str; D: cin.read(str,strlen(str));

    设有定义char str&#91;80&#93;;以下不能将输入数据first\nsecond\n读取到数组str中的语句是 A: ein.get(str,strlen(str)); B: cin.getline(str,strlen(str)); C: cin>>str; D: cin.read(str,strlen(str));

  • 2022-06-07 问题

    创建存储过程如下:Create proc bookproc @id int ,@title char(20) outputAs Select @title=title from book where id=@id执行该存储过程的方法正确的是( ) A: Exec bookproc 1,@title outputPrint @title B: exec bookproc @id=1,@title outputPrint @title C: declare @title char(2)Exec bookproc 1,@title outputPrint @title D: declare @title char(20)Exec bookproc @id=1,@title outputPrint @title

    创建存储过程如下:Create proc bookproc @id int ,@title char(20) outputAs Select @title=title from book where id=@id执行该存储过程的方法正确的是( ) A: Exec bookproc 1,@title outputPrint @title B: exec bookproc @id=1,@title outputPrint @title C: declare @title char(2)Exec bookproc 1,@title outputPrint @title D: declare @title char(20)Exec bookproc @id=1,@title outputPrint @title

  • 1 2 3 4 5 6 7 8 9 10