• 2022-05-28
    假设有String a="A";char b='A'; char c=65,下面选项中正确的是( )。
    A: if(a== {Systeouprint("Equal")}
    B: if(c== {Systeouprint("Equal")}
    C: if(a== {Systeouprint("Equal")}
    D: if(c== {Systeouprint("Equal")}
  • B

    内容

    • 0

      下列语句中,在字符串s1和s2相等时显示“they are Equal”的是( )。 A: if(*s1==*s2) puts("they are Equal"); B: if(!strcmp(s1,s2)) puts("they are Equal"); C: if(s1==s2) Puts("they are Equal"); D: if(strcmp(s1,s2)) puts("they are Equal");

    • 1

      下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。 A: if(*s1==*s2) B: if(!strcmp(s1,s2)) puts("they are Equal"); puts("they are Equal"); C: if(s1==s2) D: if(strcmp(s1,s2)) Puts("they are Equal"); puts("they are Equal");

    • 2

      执行下列Python语句将产生的结果是()x=8y=8.0if(x==y):print("Equal")else:print("No Equal") A: Equal B: Not Equal C: 编译错误 D: 运行时错误

    • 3

      下列语句中,在字符串s1和s2相等时显示“they are Equal”的是( )。 A: if(*s1==*s2) B: if(!strcmp(s1,s2)) C: puts("they are Equal"); puts("they are Equal"); D: if(s1==s2) E: if(strcmp(s1,s2)) F: Puts("they are Equal"); pros("they are Equal");

    • 4

      A perpetuity is defined as a sequence of A: equal cash flows occurring at equal intervals of time for a specific number of periods. B: equal cash flows occurring at equal intervals of time forever. C: unequal cash flows occurring at equal intervals of time forever. D: unequal cash flows occurring at equal intervals of time for a specific number of periods.