#include <stdio.h>
main()
{ int x;
scanf("%d",&x);
if(x<=3) ; else
if(x!=10) printf("%d/n",x);
}
程序运行时 , 输入的值在哪个范围才会有输出结果
A.) 不等于10 的整数
B.) 大于 3 且不等于10 的整数
C.) 大于 3 或等于10 的整数
D.) 小于 3 的整数
[主观题]有以下程序#include <stdio.h>main{ int x,y; scanf("%2d%ld",&x,&y); printf("%d/n",x+y);}程序运行时输入:1234567,程序的运行结果是
[单选题]有以下程序:include<stdio.h>,main( ){int S;scanf("%d",&s);while(s>O){switch(s){case l:printf("%d",s+5);case 2:printf("%d",s+4);break;case 3:printf("%d",s+3);default:("%d",s+1);break;}scanf(&quo
[单选题]有以下程序#include <stdio.h>main() { int x=1, y=2, z=3; if(x>y) if(y<z) printf("%d", ++z); else printf("%d", ++y); printf("%d/n", x++);}程序的运行结果是A.331 B.41 C.2 D.1
[单选题](18)有以下程序#include <stdio.h>main(){ int x=011;printf("%d/n",++x);}程序运行后的输出结果是A.)12B.)11C.)10D.)9
[单选题](27)有以下程序#include <stdio.h>main(){ int x=1,y=0;if(!x) y++;else if(x==0)if (x) y+=2;else y+=3;printf("%d/n",y);}程序运行后的输出结果是A.)3B.)2C.)1D.)0
[主观题](7)有以下程序#include <stdio.h>main(){ int x;scanf("%d",&x);if(x>15) printf("%d",x-5);if(x>10) printf("%d",x);if(x>5) printf("%d/n",x+5);}若程序运行时从键盘输入12<回车>,则输出结果为 (7) 。
[单选题]有以下程序:include<stdio.h>int f(int x):main{int n=1,m;m=f(f(f(n)));printf("%d/n",m);}int f(int x){return x*2;)程序运行后的输出结果是( )。A.1B.2C.4D.8
[单选题]有以下程序#include<stdio.h>int f(int x);main( ){int n=1,m;m=f(f(f(n)));printf(”%d\n”,m);}int f(int x){return x*2;}程序运行后的输出结果是( )。A.1B.2C.4D.8
[单选题]有以下程序#include <stdio.h>main( ){ int a[ ]={1,2,3,4},y,*p=&a[3];--p; y=*p; printf("y=%d/n",y);}程序的运行结果是A.)y=0B.)y=1C.)y=2D.)y=3
[单选题]有以下程序#include <stdio.h>main(){ int a[ ]={2,3,5,4},i;for(i=0;i<4;i++)switch(i%2){ case 0:switch(a[i]%2){case 0:a[i]++;break;case 1:a[i]--;}break;case 1:a[i ] =0;}for(i=0;i<4;i++) printf("%d",a[i]); printf("/n");}程序运行后的输出结果是A.)3 3 4 4B.