°²»ÕÊ¡ÆÕͨרÉý±¾¼ÆËã»ú¿ÆѧÓë¼¼ÊõCÓïÑÔ¿¼ÊÔÌâ¿âÓë´ð°¸ ÏÂÔر¾ÎÄ

A) 50 B) 52 C) 51 D) 8 94¡¢ÒÔϺ¯ÊýµÄ¹¦ÄÜÊÇ£ºÇóxµÄy´Î·½£¬ÇëÌî¿Õ.____C______

#include void main() { int i,x,y; double z;

scanf(\ for(i=1,z=x;i

printf(\ }

A) i++ B) x++ C) x D) i 95¡¢ÓÐÈçϳÌÐò

#include void main() { int x=23; do

{ printf(\ }while(!x); }

¸Ã³ÌÐòµÄÖ´Ðнá¹ûÊÇ___B____

A) 321 B) 23

C) ²»Êä³öÈκÎÄÚÈÝ D) ÏÝÈëËÀÑ­»· 96¡¢ÒÔϳÌÐò¶ÎµÄÖ´Ðнá¹ûÊÇ____C____.

int i,j,m=0;

for(i=1;i<=15;i+=4) for(j=3;j<=19;j+=4) m++;

printf(\

A) 12 B) 15 C) 20 D) 25 97¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ______A_____.

#include void main( ) { int i;

for(i=1;i<6;i++)

{ if (i%2!=0) {printf(\ printf(\ }

printf(\ }

A) #*#*# B) ##### C) ***** D) *#*#* 98¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ____D______.

#include void main( )

{ int x=10,y=10,i; for(i=0;x>8;y=++i)

printf(\ }

A) 10 1 9 2 B) 9 8 7 6 C) 10 9 9 0 D) 10 10 9 1

99¡¢Ö´ÐÐÒÔϳÌÐòºó£¬Êä³öµÄ½á¹ûÊÇ_____D_____.

#include void main( ) { int y=10; do {y--;} while (--y);

printf(\ }

A) -1 B) 1 C) 8 D) 0 100¡¢ÓÐÈçϳÌÐò

#include void main( ) { int n=9;

while(n>6) {n--;printf(\ }

¸Ã³ÌÐò¶ÎµÄÊä³ö½á¹ûÊÇ_____B_____.

A) 987 B) 876 C) 8765 D) 9876 101¡¢ÓÐÈçϳÌÐò

#include void main( ) { int i,sum=0;

for(i=1;i<=3;sum++) sum+=i; printf(\ }

¸Ã³ÌÐòµÄÖ´Ðнá¹ûÊÇ______C_____.

A) 6 B) 3 C) ËÀÑ­»· D) 0 102¡¢ÒÔÏÂÑ­»·ÌåµÄÖ´ÐдÎÊýÊÇ___D____

#include void main( ) { int i,j;

for(i=0,j=1; i<=j+1; i+=2, j--) printf(\ }

A) 3 B) 2 C) 1 D) 0 103¡¢ÔÚÖ´ÐÐÒÔϳÌÐòʱ£¬Èç¹û´Ó¼üÅÌÉÏÊäÈ룺ABCdef<»Ø³µ>£¬ÔòÊä³öΪ____B____.

#include void main( ) { char ch;

while ((ch=getchar( ))!='\\n')

{ if (ch>='A' && ch<='Z') ch=ch+32; else if (ch>='a' && ch<'z') ch=ch-32; printf(\ }

printf(\

}

A) ABCdef B) abcDEF C) abc D) DEF 104¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ____D______.

main( ) {

int i,k=0, a=0, b=0; for(i=1;i<=4;i++)

{

k++;

if (k%2==0) {a=a+k; continue;} b=b+k; a=a+k; }

printf(\ }

A) k=5 a=10 b=4 B) k=3 a=6 b=4 C) k=4 a=10 b=3 D) k=4 a=10 b=4

105¡¢Ö´ÐÐÏÂÃæ³ÌÐò¶Îºó,kµÄÖµÊÇ____D_____. int i,j,k;

for(i=0,j=10;i

A) 9 B) 11 C) 8 D) 10

106¡¢ÏÂÃæ³ÌÐòÊǼÆËãn¸öÊýµÄƽ¾ùÖµ,ÇëÌî¿Õ.____B___

#include void main( ) { int i,n;

float x,avg=0.0; scanf(\ for(i=0;i

A) i B) x C) x D) i avg/i avg/n avg/x avg/n

107¡¢ÒÔϳÌÐòµÄ¹¦ÄÜÊÇ:´Ó¼üÅÌÉÏÊäÈëÈô¸É¸öѧÉúµÄ³É¼¨, ͳ¼Æ²¢Êä³ö×î¸ß³É¼¨ºÍ×îµÍ³É¼¨,µ±ÊäÈ븺Êýʱ½áÊøÊäÈë¡£ÇëÌî¿Õ¡£___D_____

#include void main( )

{ float x,amax,amin; scanf(\ amax=x; amin=x;

while (________ )

{ if (x>amax) amax=x; if (______) amin=x; scanf(\ }

printf(\ }

A) x<=0 B) x>0 C) x>0 D) x>=0 x>amin x<=amin x>amin x

108¡¢ÔĶÁÒÔϳÌÐò£¬³ÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ__B____.

#include void main( ) { int x;

for(x=5;x>0;x--)

if (x--<5) printf(\ else printf(\ }

A) 4,3,2 B) 4,3,1, C) 5,4,2 D) 5,3,1, 109¡¢ÒÔϳÌÐò¶ÎµÄÊä³ö½á¹ûÊÇ____C____.

int k,n,m;

n=10;m=1;k=1;

while (k<=n) {m*=2;k+=4;} printf(\

A) 4 B) 16 C) 8 D) 32 110¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ____B_____.

#include void main( ) {int y=9; for(;y>0;y--) {if(y%3==0)

{printf(\ continue;} } }

A) 741 B) 852 C) 963 D) 875421 111¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ____B____.

#include void main( ) {int x=3; do {

printf(\ }while(!(--x)); }

A) 1 B) 1 -2 C) 3 0 D)ÊÇËÀÑ­»· 112¡¢¶¨ÒåÈçϱäÁ¿: int n=10;

ÔòÏÂÁÐÑ­»·µÄÊä³ö½á¹ûÊÇ___B____.

while(n>7)

{ n--; printf(\

A) 10 B) 9 C) 10 D) 9

9 8 9 8 8 7 8 7 7 6 113¡¢Óï¾äwhile(!e);ÖеÄÌõ¼þ !e µÈ¼ÛÓÚ____A____. A) e==0 B) e!=1 C) e!=0 D) ~e 114¡¢ÒÔÏÂÐðÊöÕýÈ·µÄÊÇ_____B____.

A) continueÓï¾äµÄ×÷ÓÃÊǽáÊøÕû¸öÑ­»·µÄÖ´ÐÐ

B) Ö»ÄÜÔÚÑ­»·ÌåÄÚºÍswitchÓï¾äÌåÄÚʹÓÃbreakÓï¾ä C) ÔÚÑ­»·ÌåÄÚʹÓÃbreakÓï¾ä»òcontinueÓï¾äµÄ×÷ÓÃÏàͬ

D) ´Ó¶à²ãÑ­»·Ç¶Ì×ÖÐÍ˳öʱ,Ö»ÄÜʹÓÃgotoÓï¾ä 115¡¢ÔÚÏÂÁÐÑ¡ÏîÖУ¬Ã»Óй¹³ÉËÀÑ­»·µÄ³ÌÐò¶ÎÊÇ___D_.

A) int i=100;B) for( ; ; ); while (1) { i=i0+1;

if (i>100) break; }

C) int k=1000;D) int s=36;

do {++k;} while (k>=1000); while (s) --s; 116¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ____A_____.

#include void main( ) { int i;

for(i=1;i<=5;i++)

{ if (i%2) printf(\ else continue; printf(\ }

printf(\ }

A) *#*#*#$ B) #*#*#*$ C) #*#*$ D) *#*#$ 117¡¢ÏÂÃæ³ÌÐò¶ÎÖÐ,Ñ­»·ÌåµÄÖ´ÐдÎÊýÊÇ____C_____.

int a=10,b=0;

do {b+=2;a-=2+b;} while(a>=0);

A) 4 B) 5 C) 3 D) 2 118¡¢ÈôiΪÕûÐͱäÁ¿,ÔòÒÔÏÂÑ­»·Óï¾äµÄÑ­»·´ÎÊýÊÇ_B_.

for(i=2;i==0;)

printf(\

A) ÎÞÏÞ´Î B) 0´Î C) 1´Î D) 2´Î 119¡¢CÓïÑÔÖÐwhile ºÍdo-while Ñ­»·µÄÖ÷ÒªÇø±ðÊÇ.__A__

A) do-whileµÄÑ­»·ÌåÖÁÉÙÎÞÌõ¼þÖ´ÐÐÒ»´Î

B) whileµÄÑ­»·¿ØÖÆÌõ¼þ±Èdo-while µÄÑ­»·¿ØÖÆÌõ¼þÑϸñ

C) do-while ÔÊÐí´ÓÍⲿתµ½Ñ­»·ÌåÄÚ D) do-while µÄÑ­»·Ìå²»ÄÜÊǸ´ºÏÓï¾ä 120¡¢¶ÔÓÚfor(±í´ïʽ1;;±í´ïʽ3)¿ÉÀí½âΪ______B____.

A) for(±í´ïʽ1;0;±í´ïʽ3) B) for(±í´ïʽ1;1;±í´ïʽ3)

C) for(±í´ïʽ1;±í´ïʽ1;±í´ïʽ3) D) for(±í´ïʽ1;±í´ïʽ3;±í´ïʽ3) 121¡¢ºÏ·¨µÄÊý×鶨ÒåÊÇ___D_____.

A) int a[6]={\ B) int a[5]={0,1,2,3,4,5}; C) char a={\ D) char a[]={0,1,2,3,4,5}; 122¡¢ÒªÇóÏÂÃæµÄ³ÌÐòÔËÐкó£¬ÏÔʾÈçϽá¹û£º

2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2

Ôò³ÌÐòÖеĻ®Ïß´¦Ó¦ÌîÈë___B_____.

#include void main( )

{ int a[4][4]={ ________ }; int i,j;

for(i=0;i<4;i++)

{for(j=0;j<4;j++) printf(\ printf(\ }

A) {1,5,2,3},{2,4,7,8},{5,1,3,2}

B) {2,10,4,6},{1,5,2,3},{2,4,7,8},{5,1,3,2} C) {5,1,3,2},{2,4,7,8},{1,5,2,3}

D) {2,1,2,5},{10,5,4,1},{4,2,7,3},{6,3,8,2} 123¡¢¸ø³öÒÔ϶¨Òå:

char x[ ]=\

char y[ ]={'a','b','c','d','e','f','g'}; ÔòÕýÈ·µÄÐðÊöΪ ___C_____. A) Êý×éxºÍÊý×éyµÈ¼Û

B) Êý×éxºÍÊý×éyµÄ³¤¶ÈÏàͬ

C) Êý×éxµÄ³¤¶È´óÓÚÊý×éyµÄ³¤¶È D) Êý×éxµÄ³¤¶ÈСÓÚÊý×éyµÄ³¤¶È 124¡¢¶¨ÒåÈçϱäÁ¿ºÍÊý×é:

int i;

int x[4][4]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}; ÔòÏÂÃæÓï¾äµÄÊä³ö½á¹ûÊÇ___C_____.

for(i=0;i<4;i++) printf(\A) 1 5 9 13 B) 1 6 11 16 C) 4 7 10 13 D) 4 8 12 16 125¡¢ÏÂÃæ³ÌÐòÊä³öµÄ½á¹ûÊÇ____D____.

#include void main( ) { int i,j,x=0;

static int a[6]={1,2,3,4,5,6};

for(i=0,j=1;i<5;++i,j++) x+=a[i]*a[j];

printf(\ }

A) Êý×éaÖÐÊ×βµÄ¶ÔÓ¦ÔªËصij˻ý B) Êý×éaÖÐÊ×βµÄ¶ÔÓ¦ÔªËصij˻ýÖ®ºÍ C) Êý×éaÖÐÏàÁÚ¸÷ÔªËصij˻ý

D) Êý×éaÖÐÏàÁÚ¸÷ÔªËصij˻ýÖ®ºÍ

126¡¢ÈôÏ£ÍûÏÂÃæµÄ³ÌÐòÔËÐкóÊä³ö45£¬³ÌÐò¿Õ°×´¦µÄÕýÈ·Ñ¡ÔñÊÇ___C_____.

#include void main( )

{ int i,j=10,a[ ]={1,3,5,7,9,11,13,15}; for( ____________ ) j+=a[i];

printf(\ }

A) i=5;i>1;i-- B) i=0;i<7;++i C) i=5;i>=1;--i D) i=2;i<6;++i 127¡¢ÈôÓÐÒÔÏÂ˵Ã÷£º

char s1[ ]={\

ÔòÒÔ϶ÔÊý×éÔªËØ»òÊý×éµÄÊä³öÓï¾äÖУ¬ÕýÈ·µÄÊÇ__C___.

A) printf(\ B) printf(\

C) puts(s1);puts(s2); D) puts(s1,s2); 128¡¢ÏÂÁÐһάÊý×é³õʼ»¯Óï¾äÖУ¬ÕýÈ·ÇÒÓëÓï¾äfloat a[ ]={0,3,8,0,9};µÈ¼ÛµÄÊÇ_____D___.

A) float a[6]={0,3,8,0,9}; B) float a[4]={0,3,8,0,9}; C) float a[7]={0,3,8,0,9}; D) float a[5]={0,3,8,0,9}; 129¡¢ÔËÐÐÏÂÃæ³ÌÐò¶ÎµÄÊä³ö½á¹ûÊÇ___A_____.

char s1[10]={'S','e','t','\\0','u','p','\\0'}; printf(\

A) Set B) Setup C) Set up D) 'S''e''t' 130¡¢ÒÔϳÌÐò¶ÎµÄÊä³ö½á¹ûÊÇ____B____.

char s[ ]=\ printf(\

A) 7 B) 8 C) 9 D) 10 131¡¢ÈôÓÐ˵Ã÷:char c[10]={'E','a','s','t','\\0'};£¬ÔòÏÂÊö˵·¨ÖÐÕýÈ·µÄÊÇ_____D_____.

A) c[7]²»¿ÉÒýÓà B) c[6]¿ÉÒýÓ㬵«Öµ²»È·¶¨ C) c[4]²»¿ÉÒýÓà D) c[4]¿ÉÒýÓã¬ÆäֵΪ¿Õ×Ö·û 132¡¢ÏÂÁгõʼ»¯Óï¾äÖУ¬ÕýÈ·ÇÒÓëÓï¾ä

char c[ ]=\µÈ¼ÛµÄÊÇ____C____. A) char c[ ]={'s','t','r','i','n','g'}; B) char c[ ]='string';

C) char c[7]={'s','t','r','i','n','g','\\0'}; D) char c[7]={'string'}; 133¡¢ÈôÓÐ˵Ã÷char c[7]={'s','t','r','i','n','g'};Ôò¶ÔÔªËصķǷ¨ÒýÓÃÊÇ____C____.

A) c[0] B) c[9-6] C) c[4*2] D) c[2*3] 134¡¢ÈçÓÐ˵Ã÷£ºchar s1[5],s2[7]; ,Òª¸øÊý×és1ºÍs2ÕûÌ帳ֵ£¬ÏÂÁÐÓï¾äÖÐÕýÈ·µÄÊÇ____C____. A) s1=getchar(); s2=getchar(); B) scanf(\C) scanf(\D) gets(s1,s2);

135¡¢ÏÂÁÐÒ»×é³õʼ»¯Óï¾äÖУ¬ÕýÈ·µÄÊÇ___B_____. A) int a[8]={ }; B) int a[9]={0,7,0,4,8}; C) int a[5]={9,5,7,4,0,2}; D) int a[7]=7*6; 136¡¢ÒÔϳÌÐòÊä³öµÄ½á¹ûÊÇ____D_____.

#include void main( )

{ char str[ ]=\ int i; for(i=0;str[i]!='\\0';i++)

if(str[i]>='0'&&str[i]<='9') printf(\ printf(\ }

A) 123456789 B) 1a2b3c C) abc D) 123 137¡¢ÒÔϳÌÐòÊä³öµÄ½á¹ûÊÇ___C_____.

#include void main( )

{ int a[ ]={5,4,3,2,1},i,j; long s=0;

for(i=0;i<5;i++) s=s*10+a[i]; printf(\ }

A) s=12345 B) s=5 4 3 2 1 C) s=54321 D) ÒÔÉ϶¼²»¶Ô 138¡¢ÒÔϳÌÐòÊä³öµÄ½á¹ûÊÇ____A____.

#include void main( )

{ int a[ ]={1,2,3,4,5},i,j,s=0;

for(i=0;i<5;i++) s=s*10+a[i]; printf(\ }

A) s=12345 B) s=1 2 3 4 5 C) s=54321 D) s=5 4 3 2 1

139¡¢ÔÚ¶¨Òåint a[5][6];ºó£¬Êý×éaÖеĵÚ10¸öÔªËØÊÇ.____C____£¨Éèa[0][0]ΪµÚÒ»¸öÔªËØ£©

A) a[2][5] B) a[2][4] C) a[1][3] D) a[1][5] 140¡¢µ±½ÓÊÜÓû§ÊäÈëµÄº¬ÓпոñµÄ×Ö·û´®Ê±£¬Ó¦Ê¹ÓÃ____A____º¯Êý.

A) gets( ) B) getchar( ) C) scanf( ) D) printf( ) 141¡¢ÒÔϳÌÐòÖ´ÐÐʱÊäÈëLanguage Programming<»Ø³µ>£¬Êä³ö½á¹ûÊÇ____D____.

#include void main( ) { char str[30]; gets(str);