• 2022-06-07
    ‍以下语句 x 输出的值是多少?x = 2 y = 1 x *= y + 1‌‍‌
    A: 1
    B: 2
    C: 3
    D: 4
  • D

    内容

    • 0

      以下程序的输出结果是( )。main(){ int x=1,y=2; void swap(int x,int y); swap(x,y); printf("x=%d,y=%d\n",x,y);}void swap(int x,int y){ x=3,y=4;} A: x=3,y=4 B: x=1,y=2 C: x=3 y=4 D: x=1 y=2

    • 1

      方程${{x}^{2}}{{y}^{''}}-(x+2)(x{{y}^{'}}-y)={{x}^{4}}$的通解是( ) A: $y={{C}_{1}}x+{{C}_{2}}{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{2}})$ B: $y={{C}_{1}}x+{{C}_{2}}{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{4}})$ C: $y={{C}_{1}}x+{{C}_{2}}x{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{4}})$ D: $y={{C}_{1}}x+{{C}_{2}}x{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{2}})$

    • 2

      int x = 3,y = 4;以下哪条输出语句正确? A: Console.WriteLine("x={x},y={y}", x,y); B: Console.WriteLine("x={x},y={y}"); C: Console.WriteLine("x={0},y={1}", x,y); D: Console.WriteLine("x={1},y={2}", x,y);

    • 3

      执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}

    • 4

      执行以下语句后的输出结果是______。 int x=3,y=0; printf("%d,%d”,-1>x>-10&&1<x<10,-1>y>-10&&1<y<10); A: 1 2 B: 1 1 C: 1 2 D: 2 2