7926 |
#include <stdio.h> main( ) { int x, y; for(x=30, y=0; x>=10, y<10; x--, y++) x/=2, |
21 |
2024-07-11 |
7927 |
#include <stdio.h> #define N 4 main() { int i; int x1=1,x2=2; printf("\n" |
75 |
2024-07-11 |
7928 |
#include <stdio.h> main() { int i,sum=0; i=1; do{ sum=sum+i; i++; }while(i<=10); prin |
74 |
2024-07-11 |
7929 |
#include <stdio.h> main() { int y=9; for(;y>0;y--) if(y%3==0) { printf(%d”, |
92 |
2024-07-11 |
7930 |
#include <stdio.h> main()_ { char grade=’C’; switch(grade) { case ‘A’: printf(“9 |
88 |
2024-07-11 |
7931 |
#include <stdio.h> main( ) { int a=1,b=0; scanf(“%d”,&a); switch(a) { case |
34 |
2024-07-11 |
7932 |
#include<stdio.h> main( ) { char ch; ch=getchar( ); switch(ch) { case ‘A |
59 |
2024-07-11 |
7933 |
#include <stdio.h> main() { int x, y =0; for(x=1;x<=10;x++) { if(y>=10) |
92 |
2024-07-11 |
7934 |
#include <stdio.h> main() { char c; while((c=getchar())!=’$’) { if(‘A’<=c&&c |
21 |
2024-07-11 |
7935 |
#include "stdio.h" main() {char c; c=getchar(); while(c!='?') {pu |
50 |
2024-07-11 |
7936 |
#include <stdio.h> main() { int s=0,a=5,n; scanf("%d",&n); do { s+=1; a=a-2; }wh |
97 |
2024-07-11 |
7937 |
#include <stdio.h> main() { int num,c; scanf("%d",&num); do {c=num%10; printf(&q |
51 |
2024-07-11 |
7938 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
39 |
2024-07-11 |
7939 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
37 |
2024-07-10 |
7940 |
#include <stdio.h> main() { int num=0; while(num<=2){ num++;printf("%d\n",n |
25 |
2024-07-10 |
7941 |
#include < stdio .h > main ( ) { float c=3.0 , d=4.0; if ( c>d ) c=5.0; |
76 |
2024-07-10 |
7942 |
#include <stdio.h> main() { float a,b,c,t; a=3; b=7; c=1; if(a>b) {t= |
27 |
2024-07-10 |
7943 |
#include <stdio.h> main() { int x=2,y=-1,z=5; if(x<y) if(y<0) z=0; else z=z+1; p |
74 |
2024-07-10 |
7944 |
#include <stdio.h> main() { int a=12, b=-34, c=56, min=0; min=a; if(min>b) |
81 |
2024-07-10 |
7945 |
#include <stdio.h> main() { int a=1,b=3,c=5; if (c==a+b) printf("yes\n"); |
89 |
2024-07-10 |
7946 |
已知 char x[]="hello", y[]={'h','e','a','b','e& |
97 |
2024-07-10 |
7947 |
下列数据中属于“字符串常量”的是( )。 A.“a” B.{ABC} 若干个字符构成字符串 C.‘abc\0’ D.‘a’ |
94 |
2024-07-10 |
7948 |
在C语言中,以 __作为字符串结束标志 A)’\n’ B)’ ’ C) ’0’ D)’\0’ |
48 |
2024-07-10 |
7949 |
有如下程序 int a[10]={1,2,3,4,5,6,7,8,9,10},*P=a; 则数值为9的表达式是 A) *P+9 B) *(P+8) C) *P+=9 D) |
84 |
2024-07-10 |
7950 |
若有说明语句“int a[5],*p=a;”,则对数组元素的正确引用是( )。 A.a[p] B.p[a] C.*(p+2) D.p+2 |
51 |
2024-07-10 |