’congratulations’[2:4]的结果是()A、onB、ngC、nrD、ong
’congratulations’[2:4]的结果是()
- A、on
- B、ng
- C、nr
- D、ong
相关考题:
swith(X){case1:syso(1);case2:case3:syso(3);case4:syso(4);}当X=2时,运行结果是()。 A.没有输出任何结果B.输出结果为3C.输出结果是3和4D.输出结果是1、3、4
下列程序执行的输出结果是()。inClUdemain(){char a[2][4]; strcpy(a,"are");strcpy(a[ 下列程序执行的输出结果是( )。 #inClUde<stdio.h> main() { char a[2][4]; strcpy(a,"are");strcpy(a[1],"you"); a[0][3]=''; printf("%s\n",a); }A.areyouB.youC.areD.
下列程序的运行结果是()。 include main() {int a=2,b=3,c=4;ifa 下列程序的运行结果是( )。#include<stdio.h>main(){ int a=2,b=3,c=4;ifa<B)if(b<0)c=0;else c+=1;printf("%d\n",C) ;}A.2B.3C.5D.4
Part ADirections:You heard that one of your friends has been accepted by a foreign university. Write a letter of congratulations including (1) your congratulations; (2) some advice; (3) reminding him to keep in touch with you. You should write about 100 words. Do not sign your own name at the end of the letter. Use "Li Ming" instead. You do not need to write the address.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下列程序执行的输出结果是()。 include main() {char a[2][4];strcpy(a,"are");strcpy( 下列程序执行的输出结果是( )。 #include<stdio.h> main() { char a[2][4]; strcpy(a,"are");strcpy(a [1],"you"); a[0][3]=''; printf("%s\n",a); }A.areyouB.youC.areD.
下面程序的输出结果是() include main( ) { int i,a[ ]={2,4,6,8}; int * p=a; 下面程序的输出结果是 ( ) # include<stdio.h> main( ) { int i,a[ ]={2,4,6,8}; int * p=a; for(i=0;i<4;i+ +)a[i]=* p+ +; printf(*%d\n",a[2]); }A.6B.8C.4D.2
下列程序的运行结果是()。include main(){int a=2,b=3,c=4; if(a 下列程序的运行结果是( )。 #include <stdio.h> main() { int a=2,b=3,c=4; if(a<b) if(b<0) c=0; else c+=1; printf("%d\n", c); }A.2B.3C.5D.4
以下程序的输出结果是()。includemain(){int a=4,b=3,c=2,d=1;printf("%d",a 以下程序的输出结果是( )。 #include<stdio.h> main() {int a=4,b=3,c=2,d=1; printf("%d",a<b?a:d<c?d:B); }A.1B.3C.2D.4
执行下列程序后,屏幕上显示的结果是( )。A.2 3 4 5B.2 3 4 3C.4 5 4 5SXB 执行下列程序后,屏幕上显示的结果是( )。A.2 3 4 5B.2 3 4 3C.4 5 4 5D.2 3 2 3
有以下程序: 程序的运行结果是( )。A.1,2,3,4,B.1,0,7,0,C.1,4,5,9,S 有以下程序:程序的运行结果是( )。A.1,2,3,4,B.1,0,7,0,C.1,4,5,9,D.3,4,8,10,
研究下面的Java代码: switch (x) { case 1: System.out.println(1); case 2: case 3: System.out.println(3); case 4: System.out.println(4); } 当x=2时,运行结果是()。 A、没有输出任何结果B、输出结果为3C、输出结果是3和4D、输出结果是1、3和4
单选题计算-3+(-1)的结果是( ).A2B-2C4D-4