441 |
#include <stdio.h> main() { int x, y =0; for(x=1;x<=10;x++) { if(y>=10) |
92 |
2024-07-11 |
442 |
#include <stdio.h> main() { char c; while((c=getchar())!=’$’) { if(‘A’<=c&&c |
21 |
2024-07-11 |
443 |
#include "stdio.h" main() {char c; c=getchar(); while(c!='?') {pu |
50 |
2024-07-11 |
444 |
#include <stdio.h> main() { int s=0,a=5,n; scanf("%d",&n); do { s+=1; a=a-2; }wh |
97 |
2024-07-11 |
445 |
#include <stdio.h> main() { int num,c; scanf("%d",&num); do {c=num%10; printf(&q |
51 |
2024-07-11 |
446 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
39 |
2024-07-11 |
447 |
#include <stdio.h> main( ) { int sum=10,n=1; while(n<3) {sum=sum-n; n++; } pr |
37 |
2024-07-10 |
448 |
#include <stdio.h> main() { int num=0; while(num<=2){ num++;printf("%d\n",n |
25 |
2024-07-10 |
449 |
#include < stdio .h > main ( ) { float c=3.0 , d=4.0; if ( c>d ) c=5.0; |
76 |
2024-07-10 |
450 |
#include <stdio.h> main() { float a,b,c,t; a=3; b=7; c=1; if(a>b) {t= |
27 |
2024-07-10 |
451 |
#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 |
452 |
#include <stdio.h> main() { int a=12, b=-34, c=56, min=0; min=a; if(min>b) |
81 |
2024-07-10 |
453 |
#include <stdio.h> main() { int a=1,b=3,c=5; if (c==a+b) printf("yes\n"); |
89 |
2024-07-10 |
454 |
已知 char x[]="hello", y[]={'h','e','a','b','e& |
97 |
2024-07-10 |
455 |
下列数据中属于“字符串常量”的是( )。 A.“a” B.{ABC} 若干个字符构成字符串 C.‘abc\0’ D.‘a’ |
94 |
2024-07-10 |
456 |
在C语言中,以 __作为字符串结束标志 A)’\n’ B)’ ’ C) ’0’ D)’\0’ |
48 |
2024-07-10 |
457 |
有如下程序 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 |
458 |
若有说明语句“int a[5],*p=a;”,则对数组元素的正确引用是( )。 A.a[p] B.p[a] C.*(p+2) D.p+2 |
51 |
2024-07-10 |
459 |
有语句:int a[10],;则___是对指针变量p的正确定义和初始化。 A)int p=*a; B)int *p=a; C)int p=&a; D)int *p |
67 |
2024-07-10 |
460 |
若有说明:int n=2,*p=&n,*q=p,则以下非法的赋值语句是: ( ) A)p=q B)*p=*q C)n=*q D)p=n |
74 |
2024-07-10 |