• 2022-06-07 问题

    k=6,j=--k;k的值为()。 A: 5 B: 4 C: 6 D: 7

    k=6,j=--k;k的值为()。 A: 5 B: 4 C: 6 D: 7

  • 2022-06-07 问题

    有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为()。 A: 5 B: 7 C: 6 D: 18

    有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为()。 A: 5 B: 7 C: 6 D: 18

  • 2021-04-14 问题

    有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为( )

    有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为( )

  • 2022-05-27 问题

    下列代码哪行会出错: 1) public void modify() { 2) int I, j, k; 3) I = 100; 4) while ( I > 0 ) { 5) j = I * 2; 6) System.out.println (” The value of j is ” + j );7) k = k + 1; 8) I–; 9) } 10) } A: 4 B: 6 C: 7 D: 8

    下列代码哪行会出错: 1) public void modify() { 2) int I, j, k; 3) I = 100; 4) while ( I > 0 ) { 5) j = I * 2; 6) System.out.println (” The value of j is ” + j );7) k = k + 1; 8) I–; 9) } 10) } A: 4 B: 6 C: 7 D: 8

  • 2022-05-27 问题

    4、下列代码( )会出错。1) public void modify() {2) int I, j, k;3) I = 100;4) while ( I >; 0 ) {5)j = I * 2;6) System.out.println (" The value of j is " + j );7) k = k + 1;8) I--;9) }10} A: line 4 B: line 6 C: line 7 D: line 8

    4、下列代码( )会出错。1) public void modify() {2) int I, j, k;3) I = 100;4) while ( I >; 0 ) {5)j = I * 2;6) System.out.println (" The value of j is " + j );7) k = k + 1;8) I--;9) }10} A: line 4 B: line 6 C: line 7 D: line 8

  • 2021-04-14 问题

    h1>有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为( )。</h1></p>

    h1>有int型变量x,i,j,k,则表达式x=(i=5,j=6,k=7)的值为( )。</h1></p>

  • 2022-05-27 问题

    Given the following code:     1) public void modify() {     2) int i, j, k;     3) i = 100;     4) while ( i > 0 ) {     5) j = i * 2;  6) System.out.println (" The value of j is " + j );     7) k = k + 1;     8) i--;     9) }  10) }  Which line might cause an error during compilation?() A:  line 4 B:  line 6 C:  line 7 D:  line 8

    Given the following code:     1) public void modify() {     2) int i, j, k;     3) i = 100;     4) while ( i > 0 ) {     5) j = i * 2;  6) System.out.println (" The value of j is " + j );     7) k = k + 1;     8) i--;     9) }  10) }  Which line might cause an error during compilation?() A:  line 4 B:  line 6 C:  line 7 D:  line 8

  • 2022-06-17 问题

    下面程序的执行结果是 ______。 int k; for (k=10 ; k<3 ; k--) { if (k%3) k--; -k; k; cout<<k<< ", "; } A: 6, 3 B: 7, 4 C: 6, 2 D: 7, 4, 1

    下面程序的执行结果是 ______。 int k; for (k=10 ; k<3 ; k--) { if (k%3) k--; -k; k; cout<<k<< ", "; } A: 6, 3 B: 7, 4 C: 6, 2 D: 7, 4, 1

  • 2022-06-06 问题

    下面的数组声明中,正确的是( )。 A: k=7 b=14 B: k=6 b=6 C: k=4 b=8 D: k=1 b=7

    下面的数组声明中,正确的是( )。 A: k=7 b=14 B: k=6 b=6 C: k=4 b=8 D: k=1 b=7

  • 2022-05-30 问题

    设j为int型,则下面for循环语句结果为()for(j=10;j>3;j--){if(j%3)j--;--j;--j;printf(“%d”,j);} A: 6 3 B: 7 4 C: 6 2 D: 7 3

    设j为int型,则下面for循环语句结果为()for(j=10;j>3;j--){if(j%3)j--;--j;--j;printf(“%d”,j);} A: 6 3 B: 7 4 C: 6 2 D: 7 3

  • 1 2 3 4 5 6 7 8 9 10