单选题语句if 3<5 or 2>10 or 6>9返回的结果是()。AfalseBtrueCyesDno
单选题
语句if 3<5 or 2>10 or 6>9返回的结果是()。
A
false
B
true
C
yes
D
no
参考解析
解析:
暂无解析
相关考题:
有 以下程序void f(int b[]){ int i;for(i=2;i6;i++) b[i]*=2;}main( ){ int a[10]={1,2,3,4,5,6,7,8,9,10},i;f(a);for(i=0;i10;i++) printf("%d",a[i]);}程序运行后的输出结果是A)1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 ,B)1 , 2 , 6 , 8 , 10 , 12 , 7 , 8 , 9,10C)1 , 2 , 3 , 4 , 10 , 12 , 14 , 16 , 9 , 10 ,D)1 , 2 , 6 , 8 , 10 , 12 , 14 , 16 , 9 , 10 ,
有以下程序:includcstdio.hvoid fun(int *p){printf(%d\n,p[5]);}main( ){int a[10]={1,2,3,4,5,6,7,8,9,10};fun(a[3]);}程序运行后的输出结果是( )。A.5B.6C.8D.9
有以下程序 void f(int b[]) { int i; for(i=2;i<6;i++) b[i]*=2; } main() { int a[10]={1,2,3,4,5,6,7,8,9,10),i; f(a); for(i=0;i<10,i++)printf("%d,",a[i]); } 程序运行后的输出结果是A.1,2,3,4,5,6,7,8,9,10,B.1,2,6,8,10,12,7,8,9,10,C.1,2,3,4,10,12,14,16,9,10,D.1,2,6,8,10,12,14,16,9,10,
定义如下变量和数组: int i; int x[3][3]={1,2,3,4,5,6,7,8,9}; 则下面语句的输出结果是( )。 for(i=0; i<3; i++) printf("%d",x[i][2-i]);A.1 5 9B.1 4 7C.3 5 7D.3 6 9
定义如下变量和数组:int k;int a[3][3]={9,8,7,6,5,4,3,2,1};则下面语句的输出结果是for(k=0;k3;k++)printf("%d",a[k][k]);A.7 5 3B.9 5 1C.9 6 3D.7 4 1
定义如下变量和数组:inti;intx[4][4]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};则下面语句的输出结果是()。A.15913B.161116C.471013D.481216
有以下程序:程序运行后的输出结果是( )。A.1,2,3,4,5,6,7,8,9,10,B.10,9,8,7,6,5,4,3,2,1,C.2,3,1,6,8,7,5,4,10,9,D.10,9,8,7,6,1,2,3,4,5,
当执行下面的语句定义一维数组a后,此数组的所有元素为 ( ) inta[10];A.a[1],a[2],a[3],a[4],a[5],a[6],a[8],a[9],a[10],a[10]B.a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9]C.a[0],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10]D.a[1],a[2],a [3],a[4],a [5],a [9],a [7],a [8],a [9],a [10],a [11]
下面程序的输出结果是includemain(){int a[]={1,2,3,4,5,6,7,8,9,0},*p;p=a;printf("% 下面程序的输出结果是 #include<stdio.h> main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; p=a; printf("%d\n",*p+9);}A.0B.1C.10D.9
有以下程序:程序运行后的输出结果是( )。A.1,2,3,4,5,6,7,8,9,10,B.1,2,7,6,3,4,5,8,9,10,C.1,2,7,6,5,4,3,8,9,10,D.1,2,9,8,7,6,5,4,3,l0,
有以下程序: 程序的运行结果是( )。 A.1 2 3 4B.5 6 7 8C.9 10 11 12S 有以下程序:程序的运行结果是( )。A.1 2 3 4B.5 6 7 8C.9 10 11 12D.1 1 1 1
有以下程序程序运行后的输出结果是( )。A.1,2,3.4,5,6,7,8,9,10,B.10,9,8,7,6,5,4,3,2,1,C.2,3,1,6,8,7,5,4,10,9,D.10,9,8,7,6,1,2,3,4,5,
有下列程序:程序运行后的输出结果是( )。A.1,2,3,4,5,6,7,8,9,10,B.1,2,7,6,3,4,5,8,9,10,C.1,2,7,6,5,4,3,8,9,10,D.1,2,9,8,7,6,5,4,3,10,
有以下程序程序的运行结果是( )。A.1,2,3,4,5,6,7,8,9,0,B.2,1,4,3,6,5,8,7,0,9,SXB 有以下程序程序的运行结果是( )。A.1,2,3,4,5,6,7,8,9,0,B.2,1,4,3,6,5,8,7,0,9,C.0,9,8,7,6,5,4,3,2,l,D.0,1,2,3,4,5,6,7,8,9,
有以下程序:程序运行后的输出结果是( )。A.2,3,1,6,8,7,5,4,10,9,B.3,4,2,7,9,8,6,5,11,10,C.2,4,3,9,12,12,11,11,18,9,D.1,2,3,6,8,7,5,4,10,9,
定义变量和数组如下:int i;int x[3][3]=(1,2,3,4,5,6,7,8,9);则语句for(i=0;i<3;i++)printf(”%d”,x[1][2-i]);的输出结果是 ( )
以下程序的输出结果是( )。 A.1,2,3,4,5,6,7,8,9,10,B.1,2,3,4,10,12,14,16,9,10,SX 以下程序的输出结果是( )。A.1,2,3,4,5,6,7,8,9,10,B.1,2,3,4,10,12,14,16,9,10,C.1,2,6,8,10,12,7,8,9,10,D.1,2,6,8,10,12,14,16,9,10,
以下程序的运行结果是()。includemain(){int a[]={1,2,3,4,5,6,7,8,9,10,11,12}; int * 以下程序的运行结果是( )。 #include <stdio.h> main() { int a[]={1,2,3,4,5,6,7,8,9,10,11,12}; int *p=a+5,*q=NULL; *q=8(p+5); printf("%d %d\n", *p,*q); }A.运行后报错B.6 6C.6 11D.5 5
单选题若有以下程序#include void fun(int a[],int n){ int t,i,j; for(i=1;i for(j=i+2;j if(a[i]a[j]) { t=a[i]; a[i]=a[j]; a[j]=t; }}main(){ int c[10]={10,9,8,7,6,5,4,3,2,1},i; fun(c,10); for(i=0;i printf("");}则程序的输出结果是( )。A2,9,4,7,6,5,8,3,10,1,B10,9,8,7,6,5,4,3,2,1,C10,1,8,3,6,5,4,7,2,9,D1,10,3,8,5,6,7,4,9,2,
单选题阅读下列程序 INTEGER M(3,3) DATA M/1,2,3,4,5,6,7,8,9/ WRITE(*,10)(M(3,J),J=1,3) 10 FORMAT(1X,3I2) END 程序运行结果是()A2 5 8B3 6 9C4 5 6D7 8 9