• 2022-05-26 问题

    ( )不能对字符串赋初值.A) char str[5]="good!"; B) char str[]="good!";C) char *str="good!"; D) char str[ ]={‘g',‘o',‘o',‘d',‘!',‘0'}; A: char str[5]="good!"; B: char str[]="good!"; C: char *str="good!"; D: char str[ ]={‘g',‘o',‘o',‘d',‘!',‘0'};

    ( )不能对字符串赋初值.A) char str[5]="good!"; B) char str[]="good!";C) char *str="good!"; D) char str[ ]={‘g',‘o',‘o',‘d',‘!',‘0'}; A: char str[5]="good!"; B: char str[]="good!"; C: char *str="good!"; D: char str[ ]={‘g',‘o',‘o',‘d',‘!',‘0'};

  • 2021-04-14 问题

    以下不能正确进行字符串赋初值的语句是()。? char str[5]="good!";|char *str="good!";|char str[]="good!"; |char str[5]={ 'g','o','o','d'};

    以下不能正确进行字符串赋初值的语句是()。? char str[5]="good!";|char *str="good!";|char str[]="good!"; |char str[5]={ 'g','o','o','d'};

  • 2022-05-26 问题

    以下能正确进行字符串初始化的语句是( ) A: char str[] = "good!"; B: char str[8] = "good!"; C: char *str = "good!"; D: char str[5] = {'g', 'o', 'o', 'd', '!'};

    以下能正确进行字符串初始化的语句是( ) A: char str[] = "good!"; B: char str[8] = "good!"; C: char *str = "good!"; D: char str[5] = {'g', 'o', 'o', 'd', '!'};

  • 2022-06-15 问题

    "Stinky tofu stinks and smells good" is a false statement.Which law does this use? A: Law of identity B: Law of excluded middle C: Law of contradiction D: Absorption law

    "Stinky tofu stinks and smells good" is a false statement.Which law does this use? A: Law of identity B: Law of excluded middle C: Law of contradiction D: Absorption law

  • 2022-05-28 问题

    下面的哪些程序片断可能导致错误?( )。 A: String s="Gone with the wind";String t;t=s[3]+"one"; B: String s="Gone with the wind";String t="good";String k=s+t; C: String s="Gone with the wind";String standard=s.toUpperCase(); D: String s="home directory";String t=s-"directory";

    下面的哪些程序片断可能导致错误?( )。 A: String s="Gone with the wind";String t;t=s[3]+"one"; B: String s="Gone with the wind";String t="good";String k=s+t; C: String s="Gone with the wind";String standard=s.toUpperCase(); D: String s="home directory";String t=s-"directory";

  • 2022-06-05 问题

    Which of the following practices are good performances of customer service? A: Understanding is crucial B: Always saying "Yes" C: Always apologizing D: being a good listener

    Which of the following practices are good performances of customer service? A: Understanding is crucial B: Always saying "Yes" C: Always apologizing D: being a good listener

  • 2022-05-26 问题

    如有以下定义:char str1[8], str2[8] = "good";则不能将str2的内容交给str1数组的是: A: str1 = str2; B: strcpy(str1, str2); C: strncpy(str1,str2,6); D: str1[0] = 0; strcat(str1, str2);

    如有以下定义:char str1[8], str2[8] = "good";则不能将str2的内容交给str1数组的是: A: str1 = str2; B: strcpy(str1, str2); C: strncpy(str1,str2,6); D: str1[0] = 0; strcat(str1, str2);

  • 2022-05-31 问题

    (多选)Which ones of the following expressions mean "a good friend"? A: a bosom friend B: a confidant C: a sworn friend D: a fair-weather friend

    (多选)Which ones of the following expressions mean "a good friend"? A: a bosom friend B: a confidant C: a sworn friend D: a fair-weather friend

  • 2022-05-30 问题

    Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"

    Word中插入数学公式的方法是()。 A: "插入"→"形状"→"公式" B: "开发工具"→"公式" C: "插入"→"公式"→"插入新公式" D: "引用"→"插入"→"公式"

  • 2022-06-18 问题

    定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };

    定义并初始化一个用于存放我们国家的四个直辖市的数组cityName,四个直辖市为:北京,上海,天津,重庆. 正确的是_________ A: String[] cityName=new String[4]{"北京","上海","天津","重庆"}; B: String[] cityName=new String[]{"北京","上海","天津","重庆"}; C: String[] cityName={"北京","上海","天津","重庆"}; D: String cityName = new String[4] { "北京", "上海", "天津", "重庆" };

  • 1 2 3 4 5 6 7 8 9 10