A.¶Ô B.´í
17.¼Ù¶¨ÒÑÓÐÕûÐͱäÁ¿³õʼ»¯Óï¾äint x=2;£¬ÄÇô±í´ïʽx++,x *=2+1µÄֵΪ9¡£
A.¶Ô B.´í
18.¼Ù¶¨ÒÑÓбäÁ¿¶¨ÒåÓï¾ä£ºint m=3,n=2;£¬ÄÇô(float)(m/n)±í´ïʽµÄÖµÊÇ1.5¡£
A.¶Ô B.´í 19.CÓïÑÔÖУ¬±í´ïʽ1/2*2µÄֵΪ0¡£
A.¶Ô B.´í
20.Èôscanfº¯ÊýµÄ¸ñʽ˵Ã÷ÖÐÓÐÒ»¸ö¿Õ¸ñ£¬ÔÚÊäÈëʱҲһ¶¨ÒªÔÚ¶ÔӦλÖÃÊäÈëÒ»¸ö¿Õ¸ñ¡£
A.¶Ô B.´í £¨¶þ£©Ñ¡ÔñÌâ
1.Êý×Ö×Ö·û0µÄASCIIֵΪ48£¬ÔòÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ______¡£
#include
{ char a='1',b='2'; printf(\A.3,2 B.50,2 C.2,2 D.2,50 2.ÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ______¡£ #include
{ int m=12,n=34;
printf(\ printf(\
A.12353514 B.12353513 C.12343514 D.12343513
3.ÈôÕûÐͱäÁ¿a¡¢b¡¢c¡¢dÖеÄÖµÒÀ´ÎΪ1¡¢2¡¢3¡¢4¡£Ôò±í´ïʽa+b/d*cµÄÖµÊÇ______¡£ A.1 B.2.5 C.0.25 D.2 4.ÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ______¡£ #include
{ int a,b,c;
a=10; b=20; c= a%b+a/b;
printf(\A.10200 B.10 20 10 C.102011 D.10 20 1
5.ÒÔϳÌÐòµÄ¹¦ÄÜÊÇ£º¸ørÊäÈëÊý¾Ýºó¼ÆËã°ë¾¶ÎªrµÄÔ²Ãæ»ýs¡£³ÌÐòÔÚ±àÒëʱ³ö´í£¬³ö´íµÄÔÒòÊÇ______¡£ #include
{ int r; float s; scanf(\s=*p*r*r;
printf(\
A.×¢ÊÍÓï¾äÊéдλÖôíÎó B.´æ·ÅÔ²°ë¾¶µÄ±äÁ¿r²»Ó¦¸Ã¶¨ÒåΪÕûÐÍ
9
C.s=*p*r*r;Óï¾äÖÐʹÓÃÁË·Ç·¨±äÁ¿ D.Êä³öÓï¾äÖиñʽÃèÊö·û·Ç·¨ 6.ÉèÓж¨Ò壺int k=1,m=2; float f=7;£¬ÔòÒÔÏÂÑ¡ÏîÖдíÎóµÄ±í´ïʽÊÇ______¡£ A.k=k+=k B.-k++ C.k%int(f) D.f=k%m
7.ÉèÓж¨Ò壺int a=2,b=3,c=4;£¬ÔòÒÔÏÂÑ¡ÏîÖÐֵΪ0µÄ±í´ïʽÊÇ______¡£ A.a%b%c B.a/b/c C.a=b=c D.a,b,c
8.ÓÐÒÔϳÌÐò¶Î:int k=0,a=1,b=2,c=3; k=a+=b-=c;£¬Ö´ÐиóÌÐò¶Îºó£¬kµÄÖµÊÇ______¡£ A.0 B.1 C.2 D.3 9.ÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ______¡£
#include
{ char c; int n=100; float f=10; double x; x=f*=n/=(c=50);
printf(\A.2 20 B.2 20.000000 C.100 10 D.50 10.000000 10.ÒÑÖª×ÖĸAµÄASCIIÂëΪ65£¬ÔòÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ ______¡£
#include
a='A'+'5'-'3'; b=a+'6'-'2'; printf(\A.6771 B.67G C.CG D.C71 11.±í´ïʽ3.6-5/2+1.2+5%2µÄÖµÊÇ______¡£
A.3.3 B.3.8 C.4.3 D.4.8
12.Èô±äÁ¿x¡¢yÒÑÕýÈ·¶¨Òå²¢¸³Öµ£¬ÒÔÏ·ûºÏCÓïÑÔÓï·¨µÄ±í´ïʽÊÇ________¡£ A.++x,y=x-- B.x+1=y C.x=x+10=x+y D.double(x)/10 13.ÒÔϳÌÐòÔËÐкóµÄÊä³ö½á¹ûÊÇ________¡£ #include
{ int x,y,z; x=y=1;
z=x++,y++,++y;
printf(\A.2,3,3 B.2,3,2 C.2,3,1 D.2,2,1 14.ÒÔÏÂÑ¡ÏîÖУ¬ÖµÎª1µÄ±í´ïʽÊÇ________¡£
A.1-'0' B.1-'\\0' C. '1'-0 D. '\\0'-'0' 15.ÉèÓж¨Ò壺int k=0;£¬ÒÔÏÂÑ¡ÏîµÄ________ÓëÆäËûÈý¸ö±í´ïʽµÄÖµ²»Ïàͬ¡£ A.k++ B.k+=1 C.++k D.k+1 16.Ö´ÐÐÒÔϳÌÐòºóµÄÊä³ö½á¹ûÊÇ________¡£
#include
10
main()
{ int a=10; a=(3*5,a+4);
printf(\A.a=10 B.a=14 C.a=15 D.a=19
17.Èô±äÁ¿¾ùÒÑÕýÈ·¶¨Òå²¢¸³Öµ£¬ÒÔϺϷ¨µÄCÓïÑÔ¸³ÖµÓï¾äÊÇ________¡£ A.x=y=5; B.x=n%2.5; C.x+n=i; D.x=5=4+1; 18.Éè±äÁ¿ÒѾÕýÈ·¶¨Òå²¢¸³Öµ£¬ÒÔÏÂÕýÈ·µÄ±í´ïʽÊÇ________¡£
A.x=y*5=x+z B.int(15.8%5) C.x=y+z*5,++y D.x=25%5.0 19.ÒÔϲ»ÄÜÕýÈ·±íʾ´úÊýʽ2ab/cdµÄCÓïÑÔ±í´ïʽÊÇ________¡£
A.2*a*b/c/d B.a*b/c/d*2 C.a/c/d*b*2 D.2*a*b/c*d
20.Éè±äÁ¿aºÍbÒÑÕýÈ·¶¨Òå²¢¸³³õÖµ¡£Çëд³öÓëa-=a+bµÈ¼ÛµÄ¸³Öµ±í´ïʽ________¡£ A.a=a-a+b B.a-a=b C.a=a-(a+b) D.a=-a+b 21.ÉèÓж¨Òå:int x=2;£¬ÒÔϱí´ïʽÖУ¬Öµ²»Îª6µÄÊÇ________¡£
A.x*=x+1 B.x++,2*x C.x*=(1+x) D.2*x,x+=2 22.±í´ïʽ(int)((double)9/2)-(9)%2µÄÖµÊÇ________¡£ A.0 B.3 C.4 D.5 23.ÈôÓж¨Òå int x=10;£¬Ôò±í´ïʽx-=x+xµÄֵΪ________¡£
A.-20 B.-10 C.0 D.10
24.ÈôÓж¨Òådouble a=22;int i=0,k=18;£¬ÔòÒÔÏÂÓдíµÄÓï¾äÊÇ________¡£
A.a=a++,i++; B.i=(a+k)/(k-i); C.i=a; D.i=!a; 25.ÒÔϳÌÐòÔËÐкóµÄ½á¹ûÊÇ________¡£ #include
{ int a=2,b=2,c=2; printf(\A.0 B.1 C.2 D.3
26.ÈôÓж¨Òåint a;long b; double x,y;£¬ÔòÒÔÏÂÑ¡ÏîÖÐÕýÈ·µÄ±í´ïʽÊÇ________¡£ A.a%(int)(x-y) B.a=b=x,y; C.(a*y)%b D.y=x+y=x 27.±í´ïʽa+=a-=a=9µÄÖµÊÇ________¡£ A.-9 B.0 C.9 D.18
28.ÈôÓж¨Òåint a=3,b=2,c=1;£¬ÒÔÏÂÑ¡ÏîÖдíÎóµÄ¸³Öµ±í´ïʽÊÇ________¡£ A.a=(b=4)=3 B.a=b=c+1; C.a=(b=4)+c; D.a=1+(b=c=4); 29.ÈôÓж¨Òåint x=12,y=8,z£»£¬ÔÚÆäºóÖ´ÐÐÓï¾äz=0.9+x/y£»£¬ÔòzµÄֵΪ________¡£ A.1 B.1.9 C.2 D.2.4 30.ÒÔϳÌÐòÔËÐкóÊä³öµÄ½á¹ûÊÇ________¡£ #include
{ int a=0,b=0,c=0;
c=(a-=a-5);(a=b,b+=4);
printf(\
11
A.0,4,5 B.4,4,5 C.4,4,4 D.0,0,0
31.Éè±äÁ¿¾ùÒÑÕýÈ·¶¨Òå²¢ÇÒ¸³Öµ£¬ÒÔÏÂÓëÆäËûÈý×éÊä³ö½á¹û²»Í¬µÄÒ»×éÓï¾äÊÇ________¡£ A.x++; printf(\C.++x; printf(\D.n=x++; printf(\32.ÒÔϳÌÐòÔËÐкóÊä³öµÄ½á¹ûÊÇ________¡£ #include
{ int a=1,b=0; printf(\A.0,0 B.1,0 C.3,2 D.1,2 33.ÒÔϳÌÐòÔËÐкóÊä³öµÄ½á¹ûÊÇ________¡£ #include
main(){ int k=011; printf(\
A.12 B.11 C.10 D.9 34.ÓÐÒÔϳÌÐò£º
#include
{ int m,n,p;
scanf(\ printf(\
ÈôÏëʹ±äÁ¿mÖеÄֵΪ123£¬nÖеÄֵΪ456£¬pÖеÄֵΪ789£¬ÔòÕýÈ·µÄÊäÈëÊÇ______¡£ A.m=123n=456p=789 B.123,456,789 C.m=123,n=456,p=789 D.123 456 789 35.ÒÔϳÌÐòÔËÐкóÊä³öµÄ½á¹ûÊÇ________¡£ #include
{ int a,b,d=25; a=d/10%9; b=a+-1; printf(\A.6,1 B.2,1 C.6,0 D.2,0 36.ÒÔÏÂÐðÊöÖÐÕýÈ·µÄÊÇ______¡£
A.µ÷ÓÃprintfº¯Êýʱ£¬±ØÐëÒªÓÐÊä³öÏî
B.ʹÓÃputcharº¯Êýʱ£¬±ØÐëÔÚ֮ǰ°üº¬Í·Îļþstdio.h
C.ÔÚCÓïÑÔÖУ¬ÕûÊý¿ÉÒÔÒÔÊ®¶þ½øÖÆ¡¢°Ë½øÖÆ»òÊ®Áù½øÖƵÄÐÎʽÊä³ö
D.µ÷ÓÃgetcharº¯Êý¶ÁÈë×Ö·ûʱ£¬¿ÉÒÔ´Ó¼üÅÌÉÏÊäÈë×Ö·ûËù¶ÔÓ¦µÄASCIIÂë 37.³ÌÐòÈçÏ£¬ÏÂÐðÊöÖÐÕýÈ·µÄÊÇ______¡£ #include
{ char a1='M',a2='m'; printf(\A.³ÌÐòÊä³ö´óд×ÖĸM B.³ÌÐòÊä³öСд×Öĸm
C.¸ñʽ˵Ã÷·û²»×㣬±àÒë³ö´í D.³ÌÐòÔËÐÐʱ²úÉú³ö´íÐÅÏ¢ 38.ÒÔϳÌÐòÔËÐÐʱÈôÊäÈ룺a<»Ø³µ> £¬ÔòÐðÊöÕýÈ·µÄÊÇ______¡£ #include
12