CÓïÑÔµ¥Ñ¡Ìâ456 ÏÂÔر¾ÎÄ

µÚÒ»µ¥Ôª CÓïÑÔ¸ÅÊö

Ò»¡¢Ñ¡ÔñÌâ

1¡¢CÓïÑÔÖÐÖ÷º¯ÊýµÄ¸öÊýΪ£¨ A£©¸ö¡£ A£©1

B£©2

D£©ÈÎÒâ¸ö

C£©ÎÞÇî¸ö

2¡¢ÒÔϹØÓÚCÓïÑÔÃèÊö´íÎóµÄÊÇ£¨ D £©¡£ A£©Ò»¸öC³ÌÐò×ÜÊÇ´Ómainº¯Êý¿ªÊ¼Ö´ÐÐ B£©Ã¿¸öÓï¾äºÍÊý¾ÝÉùÃ÷µÄ×îºó±ØÐëÓÐÒ»¸ö·ÖºÅ C£©CÓïÑÔµÄ×¢ÊÍ·ûÊÇÒÔ¡°/*¡±¿ªÊ¼²¢ÒÔ¡°*/¡±½áÊøµÄ D£©Ò»¸öC³ÌÐò¿ÉÒÔ°üº¬¶à¸ömainº¯Êý 3¡¢C ÓïÑÔÔ´³ÌÐòÎļþºó׺Ϊ£¨ C £©¡£ A£©.EXE

B£©.OBJ

C£© .C

D£©.ASM

4¡¢CÓïÑÔÊÇÓÉ£¨C £©×é³ÉµÄ¡£ A£©×Ó³ÌÐò B£©Ö÷³ÌÐòÓë×Ó³ÌÐò 5¡¢CÓïÑÔÊôÓÚ£¨C £©ÓïÑÔ A£©»úÆ÷ÓïÑÔ B£©»ã±àÓïÑÔ

µÚ¶þµ¥Ôª CÓïÑÔ»ù´¡

Ò»¡¢Ñ¡ÔñÌâ

1¡¢CÓïÑÔÖÐÆÕͨÕûÐͱäÁ¿intÔÚÄÚ´æÖÐÕ¼£¨ B £©×Ö½Ú¡£ A£©1

B£©2

C£©3

D£©4

C£©¸ß¼¶ÓïÑÔ

D£©ÃæÏò¶ÔÏóÓïÑÔ

C£©º¯Êý D£©¹ý³Ì

2¡¢ÏÂÁв»ÊÇCÓïÑÔ»ù±¾Êý¾ÝÀàÐ͵ÄÊÇ £¨ D £©¡£ A)×Ö·ûÐÍ B) ÕûÐÍ C) ¸¡µãÐÍ D) ½á¹¹Ìå

3¡¢ÓйØ×ÔÔö¡¢×Ô¼õÔËË㣬ÒÔÏÂÖ»ÓУ¨ C £©ÊÇÕýÈ·µÄ¡£ A) ---f B) ++78 C) a¡ªb++ D) d++

4¡¢ÒÑÖªA=7.5,B=2,C=3.6,±í´ïʽ(A>B && C>A) || (AB)µÄÖµÊÇ

1

£¨ £©¡£

A£©0

B£©10

C£©1

D£©5

5¡¢ÈôÓÐx=1,y=2,z=3,Ôò±í´ïʽ(x

B£©2

C£©3

D£©0

6¡¢ ÅжÏcharÐͱäÁ¿chÊÇ·ñΪ´óд×ÖĸµÄÕýÈ·±í´ïʽÊÇ£¨ £©¡£ A) ¡®A¡¯<=ch<=¡®Z¡¯ B) (ch>=¡®A¡¯)&(ch<=¡®Z¡¯) C) (ch>=¡®A¡¯)&&(ch<=¡®Z¡¯) D) (¡®A¡¯<= ch)AND(¡®Z¡¯>= ch) 7¡¢ÅжÏÕûÐͱäÁ¿digitÊÇ·ñΪÊý×ÖµÄÕýÈ·±í´ïʽÊÇ£¨ £©¡£

A) ¡®0¡¯<=ch<=¡®9¡¯ B) (ch>=¡®0¡¯)&(ch<=¡®9¡¯) C) (ch>=¡®0¡¯)&&(ch<=¡®9¡¯) D) (¡®0¡¯<= ch)AND(¡®9¡¯>= ch) 8¡¢ Ò»¸öC³ÌÐòµÄÖ´ÐÐÊÇ´Ó£¨ £©¡£

A£© ±¾³ÌÐòµÄmainº¯Êý¿ªÊ¼£¬µ½mainº¯Êý½á¼í

B£©±¾³ÌÐòÎļþµÄµÚÒ»¸öº¯Êý¿ªÊ¼£¬µ½±¾³ÌÐòÎļþµÄ×îºóÒ»¸öº¯Êý½áÊø C£©±¾³ÌÐòµÄmainº¯Êý¿ªÊ¼£¬µ½±¾³ÌÐòÎļþµÄ×îºóÒ»¸öº¯Êý½áÊø D£©±¾³ÌÐòÎļþµÄµÚÒ»¸öº¯Êý¿ªÊ¼£¬µ½±¾³ÌÐòmainº¯Êý½áÊø 9¡¢ÔÚÒÔϱêʶ·ûÖУ¬ºÏ·¨µÄÊÇ£¨ £©

A£©if B£© 0xy C£©_xy D£©case

10¡¢CÓïÑÔÖи÷ÖÖÀàÐ͵ÄÊý¾ÝÆäʵ¾ö¶¨ÁËÕ¼ÓÃÄÚ´æµÄ×Ö½ÚÊý¡£floatÕ¼£¨ £©¡£ A£©Ò»×Ö½Ú B£©¶þ×Ö½Ú C£©ËÄ×Ö½Ú D£©°Ë×Ö½Ú 11¡¢ÏÂÁи÷Ñ¡ÏîÖУ¬£¨ £©ÊÇÓÐЧµÄ±êʶ·û¡£ A£©ab B£©3day C£©day£­3

D£©#abc

12¡¢ÒÔÏÂÐðÊöÕýÈ·µÄÊÇ£¨ £©¡£ ¡£ A) ÔÚC³ÌÐòÖУ¬Ã¿ÐÐÖ»ÄÜдһÌõÓï¾ä

B) ÈôaÊÇʵÐͱäÁ¿£¬C³ÌÐòÖв»ÔÊÐía=10ÕâÖÖ¸³Öµ¡£ C) ÔÚC³ÌÐòÖУ¬%ÊÇÖ»ÄÜÓÃÓÚÕûÊýÔËËãµÄÔËËã·û D) ÔÚC³ÌÐòÖУ¬ÎÞÂÛÊÇÕûÊý»¹ÊÇʵÊý£¬Ã»ÓÐʲôÇø±ð

13¡¢ÓÐÊäÈëÓï¾ä£ºscanf(¨Da=%d,b=%d,c=%d¡¬,&a,&b,&c);Ϊʹ±äÁ¿ aµÄֵΪ1£¬bµÄֵΪ3£¬cµÄֵΪ2£¬ÔòÕýÈ·µÄÊý¾ÝÊäÈ뷽ʽÊÇ£¨ £©¡£

A£©132¨L

B£©1,3,2¨L

2

C£©a=1 b=3 c=2¨L D£©a=1,b=3,c=2¨L

14¡¢ÉèÕûÐͱäÁ¿aΪ5£¬Ê¹b²»Îª2µÄ±í´ïʽÊÇ£¨ £©¡£ A£© b = a/2 B£© b = 6-(--a) C£© b=a%2 D£© b=a>3?2:1 15¡¢ÒÔϳÌÐòµÄÊä³ö½á¹ûÊÇ( )¡£ int x=10,y=10;

printf(¨D%d %d\\n¡¬,x--,--y);

A£© 10 10 B£© 9 9 C£© 9 10 D£© 10 9 16¡¢Ñ¡³öÏÂÁбêʶ·ûÖв»ÊǺϷ¨µÄ±êʶ·ûµÄÊÇ£¨ £©¡£ A£© hot_do B£© cat1 C£© _pri D£© 2ab 17¡¢ÉèÓÐÈç϶¨Òå: int x=10,y=3,z;

ÔòÓï¾äprintf(\µÄÊä³ö½á¹ûÊÇ£¨ £©¡£ A£© 1 B£© 0 C£© 4 D£© 3

18¡¢¸÷ÖÖ»ù±¾Êý¾ÝÀàÐ͵ĴæÖü¿Õ¼äÕýÈ·µÄ³¤¶ÈÅÅÁÐΪ( )¡£ A£©int < char

A£©char£ºa, b, c£» B£©char a; b; c; C£©char a, b, c; D£©char a, b, c¡£ 20¡¢×ªÒå×Ö·û¡°·´Ð±¸ÜÏß¡±µÄ±íʾ·½·¨ÕýÈ·µÄÊÇ( ) ¡£ A£© \\ B£© \\\\ C £© ?\\¡® D£© ¨D\\¡¬ 21¡¢Èôx=5,y=3 Ôòy*=x+5; yµÄֵΪ( )¡£ A£© 10 B£© 20 C£© 15 D£© 30

22¡¢ÄÜÕýÈ·±íʾaºÍbͬʱΪÕý»òͬʱΪ¸ºµÄÂß¼­±í´ïʽÊÇ( )¡£ A£©£¨a>=0||b>=0£©&&(a<0 ||b<0) B£©(a>=0 && b>=0)&&(a<0 && b<0) C£©(a+b>0) &&(a+b<=0) D£© a*b>0 23¡¢CÓïÑÔÖУ¬ºÏ·¨µÄ×Ö·ûÐͳ£ÊýÊÇ( )¡£ A£©?A¡® B£©¨DA¡¬ C£© 65 D£© A 24¡¢ÏÂÁгÌÐò¶ÎµÄÊä³ö½á¹ûÊÇ( )¡£ char c1,c2; c1=65; c2=65+32+1;

3

printf(¨D%c,%c¡¬,c1,c2);

A£©a,B B£©a,b C£©A,b D£©A,B 25¡¢ÏÂÁÐÓï¾ä²»¾ßÓи³Öµ¹¦ÄܵÄÊÇ£¨ £© A£©a*=b B£©x=1 C£©a+b D£©a++

26¡¢ÔÚCÓïÑÔÖУ¬´æ´¢Ò»¸öÕûÐÍ¡¢×Ö·ûÐÍ¡¢Ë«¾«¶ÈʵÐͱäÁ¿ËùÐèµÄ×Ö½Ú( )¡£ A£©2¡¢1¡¢8 B£©4¡¢1¡¢4 C£©4¡¢1¡¢4 D£©2¡¢2¡¢8 27¡¢ÏÂÁгÌÐò¶ÎÊä³ö½á¹ûÊÇ( )¡£ int j=2 , i=1; j /= i*j; printf(¨D%d¡¬,j);

A£©0 B£©1 C£©2 D£©3 28¡¢²»ÊÇCÓïÑÔÌṩµÄºÏ·¨¹Ø¼ü×ÖÊÇ( )¡£ A£©switch B£©char C£©case D£©this

29¡¢ÔÚCÓïÑÔÖУ¬ÒªÇó²Î¼ÓÔËËãµÄÊý±ØÐëʱÕûÊýµÄÔËËã·ûÊÇ( )¡£ A£©/ B£©* C£©% D) =

30¡¢ÈôÒѶ¨ÒåxºÍyΪdoubleÀàÐÍ£¬ÇÒx=1£»Ôò±í´ïʽy=x+3/2µÄÖµÊÇ( )¡£ A£©1 B£©2 C£©2.0 D£©2.5

31¡¢ÉèaΪÕûÐͱäÁ¿£¬²»ÄÜÕýÈ·±í´ïÊýѧ¹Øϵ£º10

A£©1010&&a<15 D£©!(a<=10)&&!(a>=15) 32¡¢±í´ïʽ¡°10£¡=9¡¬µÄÖµÊÇ( )¡£

A£©true B£©·ÇÁãÖµ C£©0 D£©1

33¡¢Éèa,bΪ×Ö·ûÐͱäÁ¿£¬Ö´ÐÐscanf(¡°a=%c,b=%c¡±,&a,&b)ºóʹaΪ¡¯A¡¯£¬bΪ¡¯B¡¯£¬´Ó¼üÅÌÉϵÄÕýÈ·ÊäÈëÊÇ( )¡£

A£© ¡¯A¡¯ ¡®B¡¯ B£© ¡¯A¡¯,¡¯B¡¯ C£©A=A,B=B D£©a=A,b=B 34¡¢ÉèÓе¥¾«¶È±äÁ¿f£¬ÆäֵΪ13.8¡£Ö´ÐÐÓï¾ä¡°n=( (int)f )%3;¡±ºó£¬nµÄÖµÊÇ( )¡£

4

A£©4 B£©1 C£©4.333333 D£©4.6

35¡¢ÆÕͨÕûÐÎintÄܹ»´¦ÀíµÄÊý¾Ý·¶Î§ÊÇ( ) A£©-32767¡«32767 B£©-32768¡«32768 C£©-32767¡«32768 D£©-32768¡«32767

36¡¢Èô¶¨ÒåxΪdoubleÐͱäÁ¿£¬ÔòÄÜÕýÈ·ÊäÈëxÖµµÄÓï¾äÊÇ¡£ A£©scanf(¨D%f¡¬,x); B£©scanf(¨D%f¡¬,&x); C£©scanf(¨D%lf¡¬,&x); D£©scanf(¨D%5.1f¡¬,&x) 37¡¢Ö´ÐÐ x=(6*7%8+9)/5; ºó£¬xµÄֵΪ£¨ £© A£©1 B£©2 C£©3 D£©4 38¡¢ÈôÓдúÊýʽ3ae/bc£¬Ôò²»ÕýÈ·µÄcÓïÑÔ±í´ïʽÊÇ£¨ £© A£©a/b/c*e*3 B£©3*a*e/b/c C£©3*a*e/b*c D£©a*e/b/c*3

39¡¢ÉèÓбäÁ¿ËµÃ÷£ºfloat x = 4.0 , y = 4.0£¬ÏÂÃæʹxΪ10.0µÄ±í´ïʽÊÇ( A£©x -= y*2.5 B£©x /= y+9 C£©x *= y-6 D£©x += y+2 40¡¢ÒÔÏÂÄÜÕýÈ·¶¨ÒåÕûÐͱäÁ¿z¡¢b¡¢c²¢ÎªÆ丳³õÖµ5µÄÓï¾äÊÇ( ) A£©int a=b=c=5; B£©int a,c, c=5; C£©a=5,b=5,c=5; D£©a=b=c=5;

41¡¢CÓïÑÔÖÐË«¾«¶È¸¡µãÐͱäÁ¿doubleÔÚÄÚ´æÖÐÕ¼£¨ £©×Ö½Ú¡£ A£©1

B£©2

C£©4

D£©8

42¡¢ÒÔÏÂÄĸöÊýѧº¯ÊýµÄ×÷ÓÃÊÇÇóijÊýµÄƽ·½¸ù£¨ £©¡£ A£©sqrt()

B£©fabs()

C£©pow()

D£©exp()

43¡¢Á½´ÎÔËÐÐÏÂÃæµÄ³ÌÐò,Èç¹û´Ó¼üÅÌÉÏ·Ö±ðÊäÈë6ºÍ3,ÔòÊä³ö½á¹ûÊÇ£¨ int x;

scanf(\

if(++x>5) printf(\else printf(\

A£© 7ºÍ5 B£© 6ºÍ3 C£© 7ºÍ4 D£©6ºÍ4 44¡¢Ö´ÐÐÓï¾ä\ºó£¬x,a,bµÄÖµÒÀ´ÎΪ£¨ £©¡£ A£©3, 3, 2 B£©3,2,2 C£©3,2,3 D£©2,3,2 45¡¢¶Á³öÒÔÏÂÓï¾äµÄÊä³ö½á¹ûÊÇ( )¡£ int x=10,y=10;

5

) ¡££©

printf(\%d\\n\

A£© 10 10 B£©9 9 C£©9 10 D£© 10 9 46¡¢CÓïÑÔÖУ¬ºÏ·¨µÄ×Ö·û´®Ðͳ£ÊýÊÇ( )¡£

A£©?A¡® B£©\ C£© ?abcd¡® D£© abcd 47¡¢Îª±íʾ¹Øϵx¡Ýy¡Ýz£¬Ó¦Ê¹ÓÃCÓïÑÔ±í´ïʽ( )¡£ A£©£¨x>=y£©&&(y>=z) B£©(x>=y) AND (y>=z) C£©(x>=y>=z) D£© (x>=z)&(y>=z) 48¡¢CÓïÑÔµÄÊäÈëÓëÊä³ö²Ù×÷ÊÇÓÉ( )Íê³ÉµÄ¡£ A£©ÊäÈëÓï¾ä B£©Êä³öÓï¾ä C£©ÊäÈëÓëÊä³öº¯Êý D£©ÊäÈëÓëÊä³öÓï¾ä 49¡¢ÉèÓÐint x=11 £»Ôò±í´ïʽ£¨x+1/3£©µÄÖµÊÇ( )¡£ A£©11.3 B£©11.333333 C£©11 D£©12

50¡¢ÈôÒѶ¨ÒåxºÍyΪdoubleÀàÐÍ£¬Ôò±í´ïʽx = 1,y = x+3/2µÄÖµÊÇ£¨ £© A£©1 B£©2 C£©2.0 D£©2.5 ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢ ¡°A¡±ÊÇÒ»¸ö×Ö·û³£Á¿¡£ X

£¨ £©2.¡¢ÔÚ³ÌÐòÔËÐйý³ÌÖÐÆäÖµ¿ÉÒԸıäµÄÁ¿³ÆΪ±äÁ¿¡£ V £¨ £©3¡¢ÔÚCÓïÑÔÖУ¬±äÁ¿¿ÉÒÔÏÈʹÓÃÔÙ¶¨Òå¡£ X £¨ £©4¡¢ÔÚCÓïÑÔÖУ¬ËùÓÐËãÊõÔËËã·ûµÄÓÅÏȼ¶¶¼Ïàͬ¡£ X £¨ £©5¡¢³ÌÐòÖÐÈôҪʹÓÃÊýѧº¯Êý¾Í±ØÐë°üº¬Í·Îļþ¡¬math.h¡¬¡£ V £¨ £©6¡¢³ÌÐòÖÐÈôҪʹÓÃprintf()º¯Êý¾Í±ØÐëÒýÓÃÍ·Îļþ¡¬stdio.h¡¬¡£ V £¨ £©7¡¢ÔÚ±ê×¼CÖУ¬¡°=¡±ÊÇÅжÏÁ½¸öÊýÊÇ·ñÏàµÈ¡£ X £¨ £©8¡¢ÔÚ±ê×¼CÖУ¬Ê¹ÓÃËùÓÐÊäÈëÊä³öº¯Êý±ØÐë°üº¬¡°stdio.h¡±Îļþ¡£ X £¨ £©9¡¢ÔÚCÓïÑÔÖÐÊä³öÊý¾Ýʱ¿ÉÒÔÖ¸¶¨Êý¾ÝµÄ¾«¶È£¬¼´Ð¡Êýµãºó±£Áô¼¸Î»¡£ V

( )10¡¢CÓïÑÔÖеĻù±¾Êý¾ÝÀàÐÍÓÐ×Ö·ûÐÍ¡¢ÕûÐͺ͸¡µãÐÍ¡£ V

6

( )11¡¢ËùÓеÄCÓïÑÔ³ÌÐò¶¼±ØÐëÓÐÒ»¸öÃûΪmainµÄÖ÷º¯Êý¡£ V ( )12¡¢/ ÔËËã·ûÒªÇóÔËËãÊý±ØÐëÊÇÕûÊý¡£ ( )13¡¢Int, #a15 , char¶¼ÊǺϷ¨µÄ±êʶ·û¡£

X

X

( )14¡¢'b'ºÍ\ÊDz»Í¬µÄÁ½ÖÖ³£Á¿¡£ V

( )15¡¢CÓïÑÔ±¾ÉíûÓÐÊäÈëÊä³öÓï¾ä£¬ÒªÊµÏÖÊäÈëÊä³ö±ØÐëµ÷ÓÃÏàÓ¦µÄÊäÈëÊä³öº¯Êý¡£ V

µÚÈýµ¥Ôª Ëã·¨

Ò»¡¢ÅжÏÌâ

£¨ £©1¡¢ Ëã·¨¼ò¶øÑÔÖ®¾ÍÊÇ»ùÓÚijÖÖ¼ÆËã»úÓïÑÔ£¬ÀûÓÃÊý¾Ý½á¹¹À´½â¾ö¾ßÌåÎÊÌâµÄ˼·ºÍ·½·¨¡£ V

£¨ £©2¡¢ ÃèÊöËã·¨µÄͼÐλ¯·½·¨Ö®Ò»¾ÍÊdzÌÐòÁ÷³Ìͼ¡£V

£¨ £©3¡¢ ÃèÊöËã·¨¿ÉÒÔÓÃ×ÔÈ»ÓïÑÔ¡¢´«Í³Á÷³Ìͼ¡¢N-SÁ÷³ÌͼÀ´ÃèÊö¡£V £¨ £©4¡¢ Ëã·¨ÒªÓÐÒ»¶¨µÄÂß¼­ÐԺͽ¡×³ÐÔ¡£V £¨ £©5¡¢ Ëã·¨µÄÌصãÖ®Ò»ÊÇÎÞÇîÐÔ¡£X

Ò»¡¢Ñ¡ÔñÌâ

1¡¢ÏÂÁбêʶ·ûÖкϷ¨µÄ±êʶ·ûÊÇ£¨ £©

A) int2 B) if C) 2two D) a#b 2¡¢Ñ¡³öÏÂÁбêʶ·ûÖв»ÊǺϷ¨µÄ±êʶ·ûµÄÊÇ£¨ £© A) hot_do B) cat@113 C) INT D) _2ab 3.¡¢ÒÔÏÂÑ¡ÏîÖÐÊôÓÚCÓïÑÔµÄÊý¾ÝÀàÐÍÊÇ£¨ £©

A) ×Ö·û´®ÐÍ B) Ë«¾«¶ÈÐÍ C) Âß¼­ÐÍ D) ²¼¶ûÐÍ 4¡¢ÉèÓÐÈç϶¨Òå: int x=10,y=3, z;

ÔòÓï¾äprintf(\µÄÊä³ö½á¹ûÊÇ£¨ £© A) 3 B) 0 C) 4 D) 1

5¡¢ÉèÕûÐͱäÁ¿nµÄֵΪ2£¬Ö´ÐÐÓï¾ä\£»\ºó£¬nµÄÖµÊÇ( ) A) 0 B) 4 C) - 4 D) 2 ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢½á¹¹»¯³ÌÐòÉè¼ÆµÄÈýÖֽṹÊÇ˳Ðò½á¹¹¡¢Ñ¡Ôñ½á¹¹ºÍÑ­»·½á¹¹¡£

7

µÚËĵ¥Ôª ˳Ðò½á¹¹

V

£¨ £©2¡¢¿ÉÒÔÓÃprintf(\Óï¾äÊä³öÒ»¸öÊ®Áù½øÖÆÕûÊý¡£X £¨ £©3¡¢¿ÉÒÔÓÃscanf(\Óï¾ä´Ó¼üÅ̽ÓÊÕÒ»¸ö°Ë½øÖÆÕûÊý¸ø±äÁ¿da¡£X

£¨ £©4¡¢Óï¾äscanf(\ÊÇÕýÈ·µÄ¡£X

£¨ £©5¡¢ Èç¹ûaÊÇһά×Ö·ûÊý×éÃû£¬ÔòÓï¾äscanf(\ÊÇÕýÈ·µÄ¡£X

µÚÎåµ¥Ôª Ñ¡Ôñ½á¹¹

Ò»¡¢Ñ¡ÔñÌâ

1¡¢ÓÐÒÔϳÌÐò¶Î int a; if (3&&2)

a=1;

else

a = 2;

Ö´Ðкóa=£¨ £©¡£

A£©1 B£©2 C£©3 D£©0 2¡¢±í´ïʽ:10!=9µÄÖµÊÇ£¨ £©¡£

A£© true B£© ·ÇÁãÖµ C£© 0 D£© 1

3¡¢Éèint x=1,y=1;±í´ïʽ£¨!x++ || y--£©µÄÖµÊÇ_£¨ £©¡£ A£©0 B£© 1 C£© 2 D£©-1

4¡¢ÉèÕûÐͱäÁ¿s, c1,c2µÄÖµ¾ùΪ2£¬ÔòÖ´ÐÐÓï¾ä£¨s=£¨c1= =c2£©£©ºó£¬sµÄֵΪ£º£¨ £©¡£

A£©0 B£©1 C£©2 D£©3

5¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa && bµÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

6¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa || bµÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

7¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa != bµÄ½á¹ûÊÇ£¨ £©¡£

8

A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

8¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa || (b++)µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

9¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa && (++b£©µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

10¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬2£¬ÄÇô±í´ïʽ a>b?a+b:a-bµÄ½á¹ûÊÇ£¨ £©¡£

A£©1 B£©2 C£©3 D£©-1 11¡¢Ï±߳ÌÐò¶Î int a=2,b=3,c=4;

if(c=a+b£© printf(¨DOK!¡¬) else printf(¨DNO!¡¬); Êä³ö½á¹ûÊÇ£¨ £©¡£

A£©OK£¡ B£©NO C£©³ÌÐò´íÎó D£©ÒÔÉ϶¼²»¶Ô

12¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa= =b µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

13¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇô!(a = = b£©µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

14¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬2£¬ÄÇô!a && bµÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô 15¡¢ÉèxΪ·ÇÁ㣬ÔòÏÂÁÐÃèÊö´íÎóµÄÊÇ£¨ £©¡£ A£©!(x = = 0) B£©x != 0 C£©3*x != 0 D£©x>0 16¡¢ÏÂÁбí´ïʽµÄÖµÖÐÄĸö±íʾΪÂß¼­¼Ù£¨ £©¡£ A£©1 B£©3 C£©0 D£©-1

17¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ6£¬2£¬ÄÇôa%b != 0µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©3 18¡¢ÏÂÁÐÊôÓÚ·ÖÖ§½á¹¹µÄÊÇ£¨ £©¡£

A£©while B£©switch C£©for D£©ÒÔÉ϶¼²»ÊÇ

19¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa || (++b£©µÄ½á¹ûÊÇ£¨ £©¡£

9

A£©0 B£©1 C£©2 D£©¶¼²»¶Ô

20¡¢ÉèÕûÐͱäÁ¿a£¬bµÄÖµ·Ö±ðΪ1£¬0£¬ÄÇôa&&(b++)µÄ½á¹ûÊÇ£¨ £©¡£ A£©0 B£©1 C£©2 D£©¶¼²»¶Ô ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢ÔÚ·ÖÖ§½á¹¹switchÖУ¬caseºóÃæ¸úµÄÒ»¶¨Êdz£Á¿¡£ V £¨ £©2¡¢Âß¼­ÔËËã·ûÓÅÏȼ¶¸ßÓÚ¹ØϵÔËËã·ûµÄÓÅÏȼ¶¡£ X £¨ £©3¡¢¹ØϵÔËËã·ûÖУ¬= = µÄÓÅÏȼ¶Òª¸ßÓÚ >= µÄÓÅÏȼ¶¡£ £¨ £©4¡¢¹ØϵÔËËã·ûÖУ¬> µÄÓÅÏȼ¶Òª¸ßÓÚ >= µÄÓÅÏȼ¶¡£ £¨ £©5¡¢ÔÚÌõ¼þ±í´ïʽÖУ¬-3´ú±íΪÕæ¡£ £¨ £©6¡¢ÔÚÌõ¼þ±í´ïʽÖУ¬·Ç0´ú±íΪÕæ¡£

£¨ £©7¡¢Ìõ¼þÔËËã·û ?: ÊÇ2Ä¿ÔËËã·û¡£ £¨ £©8¡¢ÔÚswitchÓï¾äÖУ¬ÓÐûÓÐbreakµÄÇé¿ö¶¼ÊÇÏàͬµÄ¡£ £¨ £©9¡¢ÅжÏa,bÁ½¸öÊýÊÇ·ñÏàµÈ£¬Óà a = b¡£ £¨ £©10¡¢ÅжÏa,bÁ½¸öÊýÊÇ·ñÏàµÈ£¬Óà a = = b¡£

µÚÁùµ¥Ôª forÑ­»·½á¹¹

Ò»¡¢Ñ¡ÔñÌâ

1¡¢¶ÔϱßforÑ­»·£¬Ñ­»·ÌåÌåÖ´ÐдÎÊýÊÇ£¨ £©¡£ for ( i = 1; i <= 10; i = i + 2 )

;

A£© 6

B£© 5

C£© 4 D£© 7

2¡¢¶ÔϱßforÑ­»·£¬Ñ­»·ÌåÖ´ÐдÎÊýÊÇ£¨ £©¡£ for ( i = 5; i > 1; i -- )

;

A£© 6

B£© 5

C£© 4

D£© 7

3¡¢Ï±ßÑ­»·Ö´ÐÐÍêºó£¬aΪ£¨ £©¡£ for ( a= 1;a< 5; a++ ) a = 2 * a; A£© 5

B£© 4 C£© 7 D£© 8

10

X X V V

X X X V 4¡¢Ï±ßÑ­»·Ö´ÐÐÍêºó£¬sΪ£¨ £©¡£ for ( a= 1; a< 5; a++ )

for ( b= s = 0; b< a; b++, s = s +a)

;

A£© 6

B£© 4

C£© 7

D£© ÎÞ´ð°¸

5¡¢Ï±߳ÌÐòÖ´ÐÐÍêºó£¬a £¬bµÄÖµÊÇ£¨ £©¡£ for ( a= 1; a<= 10; a++ ) for ( b= 10;b>= 1; b-- ) if ( a>= b£©) exit(0); A£© 1£¬1 B£© 5£¬5

C£© 6£¬6

D£© ¾ù²»¶Ô

6¡¢Ï±߳ÌÐòÖ´ÐкósµÄÖµÊÇ£¨ £©¡£ for ( s = i = 1; i < 100; i++ ) s = s + 1 / i; A£© 0

B£© 2

C£© 1 D£© ÄÑÒÔÈ·¶¨

7¡¢Ï±߳ÌÐò¶ÎÊä³ö½á¹ûÊÇ£¨ £©¡£

int i , a= 0;

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

a++, i++;

printf(\

A£©5 B£©6 C£©9 D£©10 8¡¢ÒÔÏÂforÑ­»·µÄ´ÎÊýΪ£¨ £©¡£ for(x = 0,y = 0; (y=123) && (x<4) ; x++)

;

A£©²»Ñ­»· B£©ÎÞÏÞ´Î C£©3 D£©4 9¡¢´ÓÑ­»·ÌåÄÚijһ²ãÌø³ö£¬¼ÌÐøÖ´ÐÐÑ­»·ÍâµÄÓï¾äÊÇ£º£¨ £©¡£ A£© breakÓï¾ä B£©returnÓï¾ä C£©continueÓï¾ä D£©¿ÕÓï¾ä 10¡¢for(k=0;k<5;++k) {

if(k= = 3) continue;

printf(\ }

11

µÄÊä³ö½á¹ûΪ£¨ £©¡£

A£©012 B£©0124 C£© 01234 D£© ûÓÐÊä³ö½á¹û 11¡¢Ñ­»·Óï¾ä for (x=0,y=0; (y!=123)|| (x<4);x++) ;µÄÑ­»·Ö´ÐдÎÊýΪ£¨ £©¡£ A£©ÎÞÏÞ´Î B£©²»Ñ­»· C£©4´Î D£©3´Î

12¡¢Éèi,j,k¾ùΪintÐͱäÁ¿£¬k³õֵΪ0£¬Ö´ÐÐÍêÏÂÃæµÄforÑ­»·ºó£¬kµÄֵΪ£¨ £©¡£

for (i=0,j=10; i<=j; i++,j--) k=i+j;

A£©10 B£©9 C£©8 13¡¢ÒÔϳÌÐò¶ÎµÄÑ­»·´ÎÊýÊÇ£¨ £©¡£ for (i=2 ; i=0 ; )

printf(¨D%d¡¬ , i--) ;

A£©ÎÞÏÞ´Î B£©0´Î C£©1´Î 14¡¢Ï±߳ÌÐò¶ÎÑ­»·Ö´ÐеĴÎÊýÊÇ£¨ £©¡£ int a= 0, j = 10; for ( ; j > 3; j-- ) {

a++;

if ( a> 3) break ; }

A£© 3 B¡¢4 C¡¢5 D£©6

15¡¢forÑ­»·ÖУ¬±í´ïʽ1µÄ×÷ÓÃÊÇ£¨ £©¡£ A£©Ñ­»·±äÁ¿¸³³õÖµ B£©Ñ­»·Ìõ¼þ C£©¸Ä±äÑ­»·±äÁ¿µÄÖµ D£©Ê²Ã´×÷Óö¼Ã»ÓÐ16¡¢forÑ­»·ÖУ¬±í´ïʽ2µÄ×÷ÓÃÊÇ£¨ £©¡£ A£©Ñ­»·±äÁ¿¸³³õÖµ B£©Ñ­»·Ìõ¼þ C£©¸Ä±äÑ­»·±äÁ¿µÄÖµ D£©Ê²Ã´×÷Óö¼Ã»ÓÐ17¡¢forÑ­»·ÖУ¬±í´ïʽ3µÄ×÷ÓÃÊÇ£¨ £©¡£ A£©Ñ­»·±äÁ¿¸³³õÖµ B£©Ñ­»·Ìõ¼þ C£©¸Ä±äÑ­»·±äÁ¿µÄÖµ D£©Ê²Ã´×÷Óö¼Ã»ÓÐ 12

D£©7 D£©2´Î

18¡¢forÑ­»·ÖУ¬ÄÜÊ¡ÂԵıí´ïʽÓУ¨ £©¡£

A£©±í´ïʽ1 B£©±í´ïʽ2 C£©±í´ïʽ3 D£©3¸ö¶¼¿ÉÒÔ 19¡¢ÏÂÃæ³ÌÐòÖÐa++ ×ܹ²±»Ö´ÐжàÉٴΣ¨ £©¡£ for(i=0;i<3;i++)

for(j=0;j<3;j++)

a++;

A£©3´Î B£©2´Î C£©6´Î D£©9´Î 20¡¢ÏÂÃæÑ­»·Ìå±»Ö´ÐеĴÎÊýÊÇ£¨ £©¡£ for(i=0;i<3;i++)

£»

A£©0´Î B£©1´Î C£©2´Î D£©3´Î 21¡¢¶¨Òå±äÁ¿int i=-1; ÔòÒÔϲ»ÊÇÎÞÏÞÑ­»·µÄÊÇ: ( )¡£ A. for (i=0; i=1; i++) ; B. for ( i=0; ; i--) ; C. for ( ; i>-10; i--) ; D. for ( ; i<0 ; ) ; 22¡¢¶¨Òå±äÁ¿int i=2; ÔòÒÔÏÂÊÇÎÞÏÞÑ­»·µÄÊÇ: ( )¡£ A. for (i=0;i==1;i++) ; B. for (i=0; i<0 ; ) --i;

C. for ( ; i>10; i++) ; D. for ( ; i ; ++i ) ; 23¡¢ÒÔÏÂforÑ­»·Óï¾ä£¬Ñ­»·ÌåµÄÖ´ÐдÎÊýÊÇ: ( )¡£ for( i=1; i<=5; i+=2 ) ;

A. 4 B. 5 C. 6 D. 7 24¡¢ÒÔÏÂforÑ­»·Óï¾ä£¬Ñ­»·ÌåµÄÖ´ÐдÎÊýÊÇ: ( )¡£ for( i=5; i>1; i-- ) ;

A. 4 B. 5 C. 3 D. 2 25¡¢ÏÂÃæµÄÑ­»·ÌåÖ´ÐÐÍêºó£¬aµÄÖµÊÇ: ( )¡£ for( a=2; a<8; a++) a*=2 ;

A. 10 B.9 C. 12 D. 11

¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢continueÓï¾äÖ»ÄÜÓÃÓÚÑ­»·Óï¾äÖС£ V

£¨ £©2¡¢ÔÚforÑ­»·ÖÐÔÊÐíʹÓÃǶÌ×Ñ­»·£¬µ«Ö»ÄÜÊÇǶÌ×whileÑ­»·¡£X

13

£¨ £©3¡¢breakÓï¾äÖ»ÄÜÓÃÓÚÑ­»·Óï¾äÖС£ X £¨ £©4¡¢forÑ­»·¿ÉÄÜÒ»´Î¶¼²»Ö´ÐС£ V

£¨ £©5¡¢breakÓï¾äÊǽáÊø±¾²ãÑ­»·¡£ V £¨ £©6¡¢breakÓï¾äÊǽáÊø±¾´ÎÑ­»·¡£ X £¨ £©7¡¢continueÓï¾äÊǽáÊø±¾²ãÑ­»·¡£ X £¨ £©8¡¢continueÓï¾äÊǽáÊø±¾´ÎÑ­»·¡£ V

£¨ £© 9¡¢ÔÚÑ­»·¹ý³ÌÖУ¬Ê¹ÓÃbreakÓï¾äºÍcontinueÓï¾äµÄ×÷ÓÃÊÇÒ»ÑùµÄ¡£ X

£¨ £©10¡¢for( ; ; )ÕâдÊéдforÑ­»·ÊǺϷ¨µÄ£¬¼´forÈý¸ö±í´ïʽ¶¼ÊÇ¿ÉÒÔÊ¡ÂԵġ£ V Èý¡¢³ÌÐòÔĶÁ

1¡¢ÒÔϳÌÐòÔËÐÐÍêºóµÄÊä³öÊý¾ÝÊÇ£º__aaaaaaaaa__ main() {

int a=10 ; for( ; a ; ) {

a--; if(a==0) break; printf(\ } }

2¡¢ÒÔϳÌÐòÔËÐÐÍêºóaµÄÖµÊÇ: __1__ main() {

int i, a=0 ; for(i=0; i<10; i++) i++; a++; printf(\ }

14

3¡¢ ÒÔϳÌÐòÔËÐÐÍêºóaµÄÖµÊÇ: __5__ main() {

int i, a=0 ; for(i=0; i<10; i++) a++, i++;

printf(\ }

4¡¢ÒÔϳÌÐòÔËÐÐÍêºóµÄ½á¹ûÊÇ£º_#*#*_ main() { int k;

for (k=1;k<5;k++) {

if(k%2!=0) printf(\ else printf(\ } }

5¡¢ÒÔϳÌÐòÔËÐÐÍêºósµÄÖµÊÇ: _1.0__ main() { int n ; float s=1.0; for(n=10;n>1;n--) s=s+1/n; printf(\ }

15

µÚÆßµ¥Ôª whileÓëdo-whileÑ­»·

Ò»¡¢Ñ¡ÔñÌâ

1¡¢breakÓï¾äµÄÕýÈ·µÄÓ÷¨ÊÇ( )¡£

A£©ÎÞÂÛÔÚÈκÎÇé¿öÏ£¬¶¼ÖжϳÌÐòµÄÖ´ÐУ¬Í˳ö³ÌÐò¡£ B£©ÔÚ¶àÖØÑ­»·ÖУ¬Ö»ÄÜÍ˳ö×î¿¿½üµÄÄÇÒ»²ãÑ­»·Óï¾ä¡£ C£©Ìø³ö¶àÖØÑ­»·¡£ D£©Ö»ÄÜÐ޸ĿØÖƱäÁ¿¡£

2¡¢int i=0; while( i++ < 5); Ñ­»·½áÊøºóiµÄÖµÊÇ( A£©6 B£©7 C£©5 D£©8

3¡¢Óï¾äwhile ( E ); À¨ºÅÖеıí´ïʽEµÈ¼ÛÓÚ( A£©E==0 B£©E!=1 C£©E!=0 D£©E==1

4¡¢ int i=1; while( --i ) ; Ñ­»·´ÎÊýÊÇ( )¡£ A£©ÎÞÏÞ´Î B£©0 C£©2 D£©1 5¡¢ÏÂÊö³ÌÐò¶ÎµÄÔËÐнá¹ûÊÇ ¡£ int a=1,b=2, c=3, t; while ( a

{t=a; a=b; b=t; c--;} printf(¨D%d,%d,%d¡¬,a,b,c);

A£©1,2,0 B£©2,1,0 C£©³ÌÐò´íÎó 6¡¢ ³ÌÐòÔËÐеĽá¹ûÊÇ( )¡£ main() {

int x;

x=3; do {

printf(\ }while(x); }

16

)¡£ )¡£ D£©2,1,1 A£©0 B£©ÎÞÏÞÑ­»· C£©3 D£©2 7¡¢do-whileÓï¾äµÄÑ­»·Ìå( )¡£

A£©¿ÉÄÜÒ»´Î¶¼²»Ö´ÐÐ B£©ÖÁÉÙÒªÖ´ÐÐÒ»´Î C£©ÓÉÑ­»·Ìõ¼þ¾ö¶¨Ñ­»·´ÎÊý D£©B C¾ùÕýÈ· 8¡¢¶ÔÏÂÃæµÄwhileÓï¾ä£¬Ñ­»·ÌåÖ´ÐдÎÊýÊÇ£¨ £©´Î¡£ a=30; while ( a--) ;

A£©30 B£©31 C£©39 D£©¶¼²»¶Ô 9¡¢ÔÚCÓïÑÔÖУ¬ÏÂÁÐ˵·¨ÖÐÕýÈ·µÄÊÇ( )¡£ A£©²»ÄÜʹÓÃ\¡­ while\µÄÑ­»·¡£

B£©\µÄÑ­»·±ØÐëʹÓÃbreakÓï¾äÍ˳öÑ­»·¡£ C£©\µÄÑ­»·ÖУ¬µ±Ìõ¼þΪ0ʱ½«½áÊøÑ­»·¡£ D£© \µÄÑ­»·ÖУ¬µ±Ìõ¼þΪ·Ç0ʱ½«½áÊøÑ­»·¡£ 10¡¢ÏÂÃæµÄÑ­»·Ö´ÐÐÍêºó£¬Ñ­»·´ÎÊýÊÇ£¨ £©´Î¡£ while( k=10 )

k--;

A£©9 B£©10 C£©11 D£©ÎÞÇî´Î ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢while ÊʺϿØÖÆÑ­»·´ÎÊý²»È·¶¨µÄÑ­»·¡££¨V£©

£¨ £©2¡¢ÎÞÂÛÑ­»·Ìõ¼þÊÇ·ñÂú×㣬do ... whileÑ­»·µÄÑ­»·ÌåÖÁÉÙÖ´ÐÐÒ»´Î¡££¨V£©

£¨ £©3¡¢while( 'a' ) ;ÊÇÒ»¸öËÀÑ­»·¡£(V)

£¨ £©4¡¢ÔÚʵ¼Ê±à³ÌÖУ¬do-whileÑ­»·ÍêÈ«¿ÉÒÔÓÃforÑ­»·Ìæ»»¡££¨V£© £¨ £©5¡¢continue;Óï¾äºÍbreak;Óï¾äÓÐͬÑùµÄ×÷Óá£(X)

µÚ°Ëµ¥Ôª Êý×é

Ò»¡¢Ñ¡ÔñÌâ

1¡¢ÏÂÁÐÃèÊöÖв»ÕýÈ·µÄÊÇ£¨ £©¡£ A£© ×Ö·ûÐÍÊý×éÖпÉÄÜ´æ·Å×Ö·û´®¡£

17

B£© ¿ÉÒÔ¶Ô×Ö·ûÐÍÊý×é½øÐÐÕûÌåÊäÈë¡¢Êä³ö¡£ C£© ×Ö·û´®º¯ÊýÉùÃ÷ÔÚ°üctype.hÖС£ D£© ×Ö·û´®µÄ½áÊø·ûÊÇ¡®\\0¡®¡£

2¡¢¶¨ÒåÈçϱäÁ¿ºÍÊý×é: int i ; int x[6] ={1,2,3,4,5,6};

ÔòÓï¾äfor(i=0;i<3;i++) printf(\\µÄÊä³ö½á¹ûÊÇ£¨ £©¡£ A£© 1 2 3 B£©1 3 5 C£©2 4 6 D£©6 5 4 3¡¢ÒÔ϶ԶþάÊý×éa½øÐÐÕýÈ·³õʼ»¯µÄÊÇ£¨ £©¡£

A£© int a[2][3]={{1,2},{3,4},{5,6}}; B£© int a[ ][3]={1,2,3,4,5,6}; C£©int a[2][ ]={1,2,3,4,5,6}; D£© int a[2][ ]={{1,2},{3,4}}; 4¡¢ÏÂÁгÌÐòµÄÊä³ö½á¹ûÊÇ£¨ £©¡£ char a[]=\strcpy( str , strcat( a, b ) ); printf( \

A£©xyabcAB B£©abcABz C£©ABabcz D£©abcdABCD 5¡¢²»ÄÜ°Ñ×Ö·û´®:Hello!¸³¸øÊý×ébµÄÓï¾äÊÇ£¨ £©¡£ A£©char b[10]={'H','e','l','l','o','!'}; B£©char b[5] =\C£©char b[10]; strcpy(b,\£©char b[10]=\6¡¢ÏÂÁжÔÊý×鶨Òå²»ÕýÈ·µÄÓï¾äÊÇ£¨ £©¡£

A£©int m[5]; B£©char b[]={¡®h¡¯,¡¯e¡¯}; C£©int a[10]={1,6,8,4}; D£©char p[]; 7¡¢ÒÔ϶ԶþάÊý×é aµÄÕýÈ·¶¨ÒåÊÇ£¨ £© A£©int a[3][] ; B£©float a(3,4) ; C£©double a[2][4]; D£©float a(3)(4) ; 8¡¢¸ø³öÒÔ϶¨Ò壺 char x[ ]=£¢abcdefg£¢;

char y[ ]={£§a£§,£§b£§,£§c£§,£§d£§,£§e£§,£§f£§,£§g£§}; ÒÔÏÂÕýÈ·µÄÐðÊöÊÇ£¨ £©¡£

A£©Êý×éxºÍÊý×éyµÈ¼Û B£©Êý×éxºÍÊý×éy³¤¶ÈÏàµÈ

18

C£©Êý×éxµÄ³¤¶È´óÓÚÊý×éyµÄ³¤¶È£¬ÒòΪ»¹´æ´¢ÁËÒ»¸ö½áÊø·û D£©Êý×éxµÄ³¤¶ÈСÓÚÊý×éyµÄ³¤¶È£¬ÒòΪ»¹´æ´¢ÁËÒ»¸ö½áÊø·û 9¡¢ÔÚint b[ ][3]={{1},{3,2},{4,5,6},{0}};ÖÐb[2][2]µÄÖµÊÇ£¨ £©¡£ A£©0 B£©5 C£©6 D£©2 10¡¢ÏÂÁгõʼ»¯ÕýÈ·µÄÊÇ£¨ £©¡£

A£©char s1[ ]=£¢abcd£¢ ; B£©char s2[3]=£¢zxy£¢;

C£©char * p=1000 ; D£© char s4[2][3]={{£¢xyz£¢},{£¢mnp£¢}} ; 11¡¢ÉèÓж¨Ò壺char s[12]=£¢string£¢;Ôòprintf (£¢%d\\n£¢,strlen(s));µÄÊä³öÊÇ£¨ £©¡£

A£©6 B£©7 C£©11 D£©12 12¡¢º¯Êýµ÷ÓÃstrcat(strcpy(str1,str2),str3)µÄ¹¦ÄÜÊÇ£¨ £©¡£

A£©½«×Ö·û´®str2¸´ÖƵ½×Ö·û´®str1ÖкóÔÙ½«×Ö·û´®str3Á¬½Óµ½×Ö·û´®str1Ö®ºó

B£©½«×Ö·û´®str1¸´ÖƵ½×Ö·û´®str2ÖкóÔÙÁ¬½Óµ½×Ö·û´®str3Ö®ºó C£©½«×Ö·û´®str1¸´ÖƵ½×Ö·û´®str2ÖкóÔÙ¸´ÖƵ½×Ö·û´®str3Ö®ºó D£© ½«×Ö·û´®str2Á¬½Óµ½×Ö·û´®str1ÖкóÔÙ½«×Ö·û´®str1¸´ÖƵ½×Ö·û´®str3ÖÐ

13¡¢Ê¹ÓÃËæ»úº¯ÊýÐèÒª°üº¬µÄÍ·ÎļþÓУ¨ £©¡£ A£© #include B£© #include C£© #include D£© AºÍB

14¡¢ÈôÓÐ˵Ã÷int a[3][4]={0};ÏÂÁÐÐðÊöÕýÈ·µÄÊÇ£¨ £©¡£ A£©Ö»ÓÐÔªËØa[0][0]¿ÉµÃµ½³õÖµ0 B£©´Ë˵Ã÷Óï¾ä²»ÕýÈ·

C£©Êý×éaÖи÷ÔªËض¼¿ÉµÃµ½³õÖµ£¬µ«ÆäÖµ²»Ò»¶¨Îª0 D£©Êý×éaÖÐÿ¸öÔªËؾù¿ÉµÃµ½³õÖµ0

15¡¢Ö´ÐÐÏÂÃæµÄ³ÌÐò¶Îºó£¬±äÁ¿kµÄֵΪ£¨ £©¡£

int k=3,s[2]; s[0]=k; k=s[0]*10;

A£©²»¶¨Öµ B£©33 C£©30 D£©10

19

16¡¢ÒÔ϶¨ÒåÊý×éµÄÓï¾äÖÐÕýÈ·µÄÊÇ£¨ £©¡£ A£© int a(10) B£© char str[] ;

C£© int n=5; int a[4][n]; D£© #define N 10 char str[N];

17¡¢¶¨ÒåÈçϱäÁ¿ºÍÊý×飺 int k;

int a[3][3]={9,8,7,6,5,4,3,2,1}; ÔòÏÂÁÐÓï¾äµÄÊä³ö½á¹ûÊÇ£¨ £©¡£ for(k=0;k<3;k++) printf(¨D%d¡¬,a[k][k]);

A£© 7 5 3 B£© 9 5 1 C£© 9 6 3 D£©7 4 1 18¡¢ÏÂÁÐÃèÊöÕýÈ·µÄÊÇ£¨ £©¡£

A£©Á½¸ö×Ö·û´®Ëù°üº¬µÄ×Ö·û¸öÊýÏàͬʱ£¬²ÅÄܱȽÏ×Ö·û´® B£©×Ö·û¸öÊý¶àµÄ×Ö·û´®±È×Ö·û¸öÊýÉÙµÄ×Ö·û´®´ó C£©×Ö·û´®¡°STOP¡±Óë¡°STOP ¡±ÏàµÈ D£©×Ö·û´®¡°That¡¬Óë×Ö·û´®¡°ThaT¡±²»ÏàµÈ

19¡¢Èô¶þάÊý×éaÓÐn ÐÐnÁУ¬Ôò¸±¶Ô½ÇÏßÔªËØÊÇ£¨ £©¡££¨¼ÙÉèa[0][0]λÓÚÊý×éµÄµÚÒ»¸öλÖÃÉÏ£¬ÇÒi¡Ê[0,n£©£©

A£©a[i][i] B£©a[i][n-i] C£©a[n-i][i] D£©a[i][n-1-i]

20¡¢¶ÔÒÔÏÂ˵Ã÷Óï¾äµÄÕýÈ·Àí½âÊÇ£¨ £©¡£ int a[10]={6,7,8,9,10};

A£©½«5¸ö³õÖµÒÀ´Î¸³¸øa[1]ÖÁa[5]¡£ B£©½«5¸ö³õÖµÒÀ´Î¸³¸øa[0]ÖÁa[4]¡£ C£©½«5¸ö³õÖµÒÀ´Î¸³¸øa[6]ÖÁa[10]¡£

D£©ÒòΪÊý×鳤¶ÈÓë³õÖµµÄ¸öÊý²»Ïàͬ£¬ËùÒÔ´ËÓï¾ä²»ÕýÈ·

20

21¡¢ÅжÏ×Ö·û´®aºÍbÊÇ·ñÏàµÈ£¬Ó¦Ê¹Ó㨠£©¡£

A£©if(a= =b) B£© if(a=b) C£©if(strcpy(a,b)) D£© if(strcmp(a,b)= =0) 22¡¢ÅжÏ×Ö·û´®s1µÄ³¤¶ÈÊÇ·ñ´óÓÚ×Ö·û´®s2µÄ³¤¶È£¬Ó¦Ê¹Ó㨠£©¡£ A£©if£¨s1>s2£© B£©if(strcmp(s1,s2)) C£©if(strlen(s1)>strlen(s2)) D£©if(strcat(s1)>strcat(s2)) 23¡¢ÏÂÁгÌÐò¶ÎµÄÔËÐнá¹û£¨ £©¡£ char c[15]={'a','b','\\0','c','\\0'}; printf(¨D%s¡¬,c);

A£©'a','b' B£© ab C£© abc D£© a £¬b 24¡¢¼ÙÉèÓÐÁ½¸ö×Ö·ûÊý×éa,b,ÔòÒÔÏÂÕýÈ·µÄÊäÈëÓï¾äÊÇ£¨ £©¡£ A£©puts(a,b); B£© scanf(¨D%s%s¡¬,a,b); C£©scanf(¨D%s%s¡¬,&a,&b); D£©gets(¨Da¡¬);gets(¨Db¡¬);

25¡¢ÈôÓÐ˵Ã÷int a[][3]={1,2,3,4,5,6,7,8,9};ÔòaÊý×éÐÐÊýµÄ´óСΪ£¨ £©¡£ A£© 2 B£© 3 C£©4 D£©ÎÞÈ·¶¨Öµ

26. ÈôÓж¨Òådouble x[3][5]; ÔòxÊý×éÖÐÐбêµÄÏÂÏÞΪ£¨ £©£¬ÁбêµÄÉÏÏÞΪ£¨ £©¡£

A£©1 3 B£© 3 5 C£©0 5 D£©0 4 27¡¢ ÈôÓÐ˵Ã÷a[3][4];ÔòÊý×éaÖеĸ÷ÔªËØ£¨ £©¡£ A£© ¿ÉÔÚ³ÌÐòµÄÔËÐн׶εõ½³õʼֵ0 B£© ¿ÉÔÚ³ÌÐòµÄ±àÒë½×¶ÎµÃµ½³õʼֵ0 C£© ²»Äܵõ½È·¶¨µÄ³õʼֵ

D£© ¿ÉÔÚ³ÌÐòµÄ±àÒë»òÔËÐн׶εõ½³õʼֵ 28¡¢ÈôÓÐÏÂÁгÌÐò¶Î char x[80]; scanf(¨D%s¡¬,x)£» printf£¨¡°%s¡±,x£©;

´Ó¼üÅÌÉÏÊäÈë×Ö·û´®¡°zhang san¡±,ÔòÊä³ö½á¹ûΪ£¨ £©¡£ A£©zhang B£© zhangsan C£© zhang san D£©san 29¡¢ÔÚCÓïÑÔÖУ¬ÒýÓÃÊý×éÔªËØʱ£¬ÆäÊý×éϱêµÄÊý¾ÝÀàÐÍÔÊÐíΪ£¨ £©

21

A£© ÕûÐͳ£Á¿ B£© ÕûÐͱí´ïʽ C£© ÕûÐͳ£Á¿»òÕûÐͱí´ïʽ D£© ÈκÎÀàÐ͵ıí´ïʽ 30¡¢ÉèÓÐÈçÏÂÐÎʽµÄ×Ö·ûÊý×鶨Ò壺 char str[]=¡¬welcome¡¬;

ÔòÖ´ÐÐÏÂÁÐÓï¾äºóµÄÊä³ö½á¹û£¨ £©¡£ printf(¨D%d\\n¡¬,strlen(strcpy(str,¡°Hello¡±)));

A£© 7 B£© 5 C£© 8 D£©9

31¡¢ÈôÓÐint a[3][5]={2£¬2}£¬{2£¬6}£¬{2£¬6£¬2}}£¬ÔòÊý×éa¹²ÓУ¨ £©¸öÔªËØ¡£

A£©8 B£©5 C£©3 D£©15

32¡¢ÉèÓÐÈç϶¨Ò壺int a[100]£»ÔòÊý×éϱêÇø¼äΪ£º£¨ £©¡£ A£© 0~99 B£© 1~99 C£© 0~100 D£©1~100 33¡¢ÈôÓж¨Ò壺int a[3][4],Ôò¶ÔÊý×éaÖÐijԪËصÄÕýÈ·ÒýÓÃÊÇ£¨ £©¡£ A£©a[2][4] B£©a[1][3] C£©a(5) D£©a[10-10] 34¡¢ÒÔ϶ÔһάÕûÐÍÊý×éaµÄÕýȷ˵Ã÷ÊÇ£¨ £©¡£ A£©int a(10) ; B£©int n=10,a[n]; C£© int n; D£©#define SIZE 10

scanf(¨D%d¡¬,&n); int a[SIZE]; nt a[n];

35¡¢ÈôҪʹÓÃ×Ö·ûº¯Êý£¬ÐèÒªÒýÈëµÄÍ·ÎļþÊÇ£¨ £©¡£ A£©string.h B£©ctype.h C£©stdlib.h D£©stdio.h

¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢ÔÚ¶¨ÒåһάÊý×éʱ£¬¿ÉÒÔ½«¸ÃÊý×éµÄ³¤¶ÈÊ¡ÂÔ V £¨ £©2¡¢Êý×éµÄϱê´Ó0¿ªÊ¼¡£ V £¨ £©3¡¢Êý×éµÄϱê´Ó1¿ªÊ¼¡£ X £¨ £©4¡¢Êý×éÃû´ú±íÊý×éµÄÊ×µØÖ·¡£ V £¨ £©5¡¢ÔÚCÓïÑÔÖУ¬Êý×éÔªËØÔÚÄÚ´æÖеĴæ·Å˳ÐòÊÇ°´Ë³Ðò´æ·ÅµÄ¡£V

22

£¨ £©6¡¢×Ö·ûÊý×é¿ÉÒÔ´æ·Å×Ö·û´®¡£ V £¨ £©7¡¢×Ö·û´®º¯Êýstrupr(str)£¬¿É½«´®Öдóд×Öĸ±ä³ÉСд×Öĸ¡£ X £¨ £©8¡¢×Ö·û´®º¯Êýstrrev(str) £¬¿É½«str´®×Ö·ûµßµ¹¹ýÀ´¡£ V £¨ £©9¡¢×Ö·û´®µÄ½áÊø·û²»ÊÇ¡®\\0¡® ¡£ X £¨ £©10¡¢¿ÉÈç´Ë¶¨ÒåaÊý×飺float a[3]={12.5,¡®z¡®,¡¬school¡¬}; X £¨ £©11¡¢Êý×é±ß¶¨Òå±ß¸³ÖµÊ±£¬´óÀ¨ºÅÄÚÊý¾ÝÏîµÄÊýÄ¿¿ÉÒÔ´óÓÚ»òµÈÓÚÊý×éµÄ³¤¶È¡£ X

£¨ £©12¡¢Êý×é±ß¶¨Òå±ß¸³ÖµÊ±£¬´óÀ¨ºÅÄÚÊý¾ÝÏîµÄÊýÄ¿¿ÉÒÔСÓÚ»òµÈÓÚÊý×éµÄ³¤¶È¡£ V

£¨ £©13¡¢×Ö·û´®º¯Êýstrcat(str1,str2)µÄ×÷ÓÃÊǽ«×Ö·û´®str2Á¬½ÓÔÚ×Ö·û´®str1ºó¡£ V

£¨ £©14¡¢¶¨Òå×Ö·ûÐÍһάÊý×échar a[80];¿ÉÓÃgets(a[0])¸øa[0]¸³Öµ¡£X £¨ £©15¡¢Êý×鶨Òå int a[10]; Ò²¿ÉÒÔд³É int a(10)£»¡£ X

Èý¡¢³ÌÐòÔĶÁÌâ

1¡¢ÏÂÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ___6 5_______¡£ main ( ) {

char ch[7]={\ int i;

for (i=0;ch[i]>='0'&&ch[i]<='9';i++) printf(\ \ }

2¡¢ÏÂÃæ³ÌÐòÖ´Ðкó,s1=___15.0_____,s2=___2.7______¡£ float b[]={0.5,1.6,2.7,3.8,4.9,5,6.1,6.2,7.3,8.4},s1,s2; int i;

for(i=0,s1=s2=0 ; i<9 ; i++ ) {

if ( i%2 ) s1 += ( int ) b[i]; if( i%3 ) s2 += b[i] ¨C (int) b[i];

23

}

3¡¢½«³ÌÐò²¹³äÍêÕû£¬ÊµÏÖ¹¦ÄÜ:Êä³öì³ÊÏÊýÁеÄÇ°20Ï·Æ²¨ÄÉÆõ¶îÊýÁоßÓÐÕâÑùµÄÐÔÖÊ£ºF(0)=1 F(1)=2 F(N)=F(N-1)+F(N-2)

#include \void main() { int i;

long f[20]={1,2}; for(i=2 ; i<20 ; i++)

f[i] = f[i-2] + f[i-1]; for(i=0 ; i<20 ; i++)

printf(\

}

4¡¢½«³ÌÐò²¹³äÍêÕû£¬ÊµÏÖ¹¦ÄÜ:ÊäÈë2¸ö×Ö·û´®£¬ÅжÏÁ½¸ö´®ÊÇ·ñÏàͬ£¬ÏàͬÊä³öyes£¬²»Í¬Êä³öno¡£

#include \#include \void main() { char x[80],y[80]; }

5¡¢ ÉèÓÐÒÔÏ´úÂ룺 #include \void main() {

24

gets(x); gets(y);

if(strcmp(x,y)==0) puts(\else

puts(\

int a[3][3],s=0; int i,j; for(i=0;i<3;i++) for(j=0;j<3;j++) scanf(\for(i=0;i<3;i++) for(j=0;j

¼ÙÉè¼üÅÌÉÏÊäÈëµÄ9¸öÊý¾ÝΪ£º1 2 3 4 ÉÏÃæ³ÌÐòµÄÊä³ö½á¹ûÊÇ_______19____¡£

µÚ¾Åµ¥Ôª Ö¸Õë

Ò»¡¢Ñ¡ÔñÌâ

1¡¢ÒÔ϶¨ÒåÕýÈ·µÄÊÇ£¨ £©¡£ A£©int x; float *p=x; B£©int x; int *p=x; C£©int x; int *p=&x; D£©int x; float *p=&x; 2¡¢ÒÔ϶¨ÒåÕýÈ·µÄÊÇ£¨ £©¡£ A£©float x; float *p=x; B£©float x; int *p=x; C£©float x; int *p=&x; D£©float x; float *p=&x; 3¡¢ÒÔ϶¨ÒåÕýÈ·µÄÊÇ£¨ £©¡£ A£©float x[10]; float *p=x; B£©float x[10]; int *p=x; C£©float x[10]; int *p=&x; D£©float x[10]; float *p=&x;

25

5 6 7 8 9 £¬ 4¡¢ÒÔ϶¨ÒåÕýÈ·µÄÊÇ£¨ £©¡£ A£©int x[10]; float *p=x; B£©int x[10]; int *p=x; C£©int x[10]; int *p=&x; D£©int x[10]; float *p=&x; 5¡¢ÉèÓÐÒÔϱäÁ¿¶¨Òå int x; float y; double z;

z = sizeof( x ) + sizeof ( y ) + sizeof ( z ) ; ÔòzµÄֵΪ£¨ £©¡£

A£©8 B£©4 C£©6 D£©10 ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢Êý×éÃû´ú±íÊý×éµÄÊ×µØÖ·¡£ ÕýÈ·

£¨ £©2¡¢Ö¸ÕëµÄÀàÐͱØÐë¸úÆäËùÖ¸ÏòµÄ±äÁ¿µÄÊý¾Ý»òÊý¾Ý½á¹¹ÀàÐÍÒ»Ö¡£ÕýÈ·

£¨ £©3¡¢Ö¸Õë¿ÉÒÔ²»²Ù×÷Êý×é¡£ ´íÎó £¨ £©4¡¢¿ÕÖ¸ÕëµÄֵΪNULL¡£ ÕýÈ· £¨ £©5¡¢Ö¸Õë²»ÄÜʵÏÖ¶ÔÊý¾ÝµÄ¼ä½Ó·ÃÎÊ¡£ ´íÎó

µÚʮһµ¥Ôª º¯Êý

Ò»¡¢Ñ¡ÔñÌâ

1¡¢ÒÔϲ»ÕýÈ·µÄ˵·¨ÊÇ£¨ £©¡£

A£©ÔÚ²»Í¬º¯ÊýÖпÉÒÔʹÓÃÏàͬÃû×ֵıäÁ¿ B£©ÐÎʽ²ÎÊýÊǾֲ¿±äÁ¿

C£©ÔÚº¯ÊýÄÚ¶¨ÒåµÄ±äÁ¿Ö»ÔÚ±¾º¯Êý·¶Î§ÄÚÓж¨Òå D£©ÔÚijº¯ÊýÄÚ¶¨ÒåµÄ±äÁ¿¿ÉÔÚÆäÓຯÊýÖÐͨÓà 2¡¢ÒÔÏÂÕýÈ·µÄº¯Êý¶¨ÒåÊÇ£¨ £©¡£

A£©double fun(int x , int y) B£©double fun(int x ; int y) C£©double fun(int x , int y) ; D£©double fun(int x,y)

26

3¡¢ÒÔÏÂÕýÈ·µÄº¯Êý¶¨ÒåÊÇ£¨ £©¡£

A£©double fun(int x, int y) B£©double fun(int x,y)

{ z=x+y ; return z ; } { int z ; return z ;}

C£©fun (x,y) D£©double fun (int x, int y) { int x, y ; double z ;

{ double z ;

z=x+y ; return z ; } return z ; }

4¡¢Èôµ÷ÓÃÒ»¸öº¯Êý£¬ÇҴ˺¯ÊýÖÐûÓÐreturnÓï¾ä£¬ÔòÕýÈ·µÄ˵·¨ÊÇ£¨ £©¡£ A£©¸Ãº¯ÊýûÓзµ»ØÖµ

B£©¸Ãº¯Êý·µ»ØÈô¸É¸öϵͳĬÈÏÖµ C£©ÄÜ·µ»ØÒ»¸öÓû§ËùÏ£ÍûµÄº¯ÊýÖµ D£©·µ»ØÒ»¸ö²»È·¶¨µÄÖµ 5¡¢ÒÑÖªÒ»¸öº¯ÊýµÄ¶¨ÒåÈçÏ£º double fun(int x, double y) { ¡­¡­ }

Ôò¸Ãº¯ÊýÕýÈ·µÄº¯ÊýÔ­ÐÍÉùÃ÷Ϊ£¨ £©¡£

A£©double fun (int x,double y) B£©fun (int x,double y) C£©double fun (int x ,double y ); D£©fun(x,y) ; 6¡¢°üº¬±ê×¼¿âº¯Êýscanf£¨£©ÉùÃ÷µÄÍ·ÎļþÊÇ£¨ £©¡£ A£©stdio.h B£©stdlib.h C£©math.h D£©time.h

7¡¢CÓïÑԹ涨£¬º¯Êý·µ»ØÖµµÄÀàÐÍÊÇÓÉ ¾ö¶¨µÄ¡£

A£©returnÓï¾äÖеıí´ïʽÀàÐÍ B£©µ÷Óøú¯ÊýʱµÄÖ÷µ÷º¯ÊýÀàÐÍ C£©µ÷Óøú¯ÊýʱÓÉϵͳÁÙʱ D£©ÔÚ¶¨Ò庯ÊýʱËùÖ¸¶¨µÄº¯Êý·µ»ØÀàÐÍ 8¡¢ÈôÔÚij³ÌÐòÖж¨ÒåÁ˶à¸öº¯Êý£¬ÔòÒÔÏÂ˵·¨ÖÐÕýÈ·µÄÊÇ£¨ £©¡£ A£©CÓïÑÔ³ÌÐò×ÜÊÇ´ÓµÚÒ»¸öµÄÊý¿ªÊ¼Ö´ÐÐ

B£©ÔÚCÓïÑÔ³ÌÐòÖÐ,Òªµ÷Óõĺ¯Êý±ØÐëÔÚmain()º¯ÊýÖж¨Òå C£©CÓïÑÔ³ÌÐò×ÜÊÇ´Ómain()º¯Êý¿ªÊ¼Ö´ÐÐ

D£©CÓïÑÔ³ÌÐòÖеÄmain()º¯Êý±ØÐë·ÅÔÚ³ÌÐòµÄ¿ªÊ¼²¿·Ö 9¡¢Ò»¸öCÓïÑÔ³ÌÐòÊÇÓÉ£¨ £©¹¹³É¡£

27

A£©Óï¾ä B£©ÐкŠC£©Êý¾Ý D£©º¯Êý 10¡¢ÉèÓÐijº¯Êýfun£¬¶¨ÒåÈçÏ£º

int fun(int x, int y) {

¡­¡­.. }

ÒÔÏÂfunº¯ÊýµÄµ÷Óã¬ÕýÈ·µÄÊÇ£¨ £©¡£

A£©fun(3 , 4.2) B£©fun(3 , 4) C£©int a; D£©int a; a = fun(3 , 4) a = fun(3 , 4.2) ¶þ¡¢ÅжÏÌâ

£¨ £©1¡¢ÔÚ²»Í¬º¯ÊýÖпÉÒÔʹÓÃÏàͬÃû×ֵıäÁ¿¡£ ÕýÈ· £¨ £©2¡¢È«¾Ö±äÁ¿µÄ×÷ÓÃÓòÊÇÕû¸ö³ÌÐò¡£ ÕýÈ· £¨ £©3¡¢¾Ö²¿±äÁ¿µÄ×÷ÓÃÓòÊÇÕû¸ö³ÌÐò¡£ ´íÎó

£¨ £©4¡¢º¯ÊýÔÚ×öµ÷ÓÃʱ£¬Êµ¼Ê²ÎÊý±ØÐëÓëÐÎʽ²ÎÊýÒ»Ö£¬°üÀ¨ÊýÁ¿ºÍÊý

¾ÝÀàÐÍ¡£ ÕýÈ·

£¨ £©5¡¢º¯ÊýµÄ·µ»ØÖµ±ØÐëÓ뺯Êý¶¨ÒåʱµÄ·µ»ØÀàÐÍÒ»Ö¡£ ÕýÈ· 1¡¢ÒÔϳÌÐòÔËÐкóµÄ½á¹ûÊÇ£º___6£¬6_______

int fun() { } main() {

Èý¡¢³ÌÐòÔĶÁ

int x = 1; int y = 1; x += 2; y += 2; return x+y;

int a,b; a = fun(); b = fun();

28

}

printf(¨D%d,%d¡¬,a,b);

2¡¢ÒÔϳÌÐòÔËÐнá¹ûÊÇ£º___B______

void fun(); char c = ¡®a¡®; void main() { }

void fun() { }

3¡¢ÏÂÃæ³ÌÐòÖ´Ðйý³ÌÖÐÈôÊäÈë23¡¢45£¬ÔËÐнá¹ûÊÇ£º___68_______

void fun(); int a,b; main() { }

void fun() { }

4¡¢ÒÔϺ¯ÊýµÄ¹¦ÄÜΪͨ¹ý×Ô¶¨Ò庯ÊýÇóÁ½¸öÊýÖ®¼äµÄ×î´óÖµ£¬ÇëÌî¿ÕÍê³É¸Ã³ÌÐò¡£

int fun(int a, int b)

29

char c; myfun( c ); printf(¨D%c\\n¡¬,c+1);

c -= 32;

scanf(¨D%d,%d¡¬,&a,&b); fun();

printf(¨D%d¡¬,a+b);

{ } main() { }

5¡¢ÒÔÏÂ×Ô¶¨Ò庯ÊýµÄ¹¦ÄÜÊÇÕÒ³öËùÓÐÈýλÊýÖв»Äܱ»12Õû³ýµÄÊý£¬²¢Í³¼ÆÆä¸öÊý£¬ÇëÌî¿ÕÍê³É¸Ã³ÌÐò¡£

void fun() { }

void main() { }

fun(); int i;

for( i=100; i<=999; i++)

if( i!=0 ) printf(¨D%d¡¬,i); int a,b,max;

scanf(¨D%d,%d¡¬,&a,&b); max=fun(a,b); printf(¨Dmax=%d¡¬,max); if (a

30