C语言二级问题
c\u8bed\u8a00\u4e8c\u7ea7\u8003\u8bd5\u9898\u53ca\u7b54\u68482011\u5e743\u6708\u5168\u56fd\u8ba1\u7b97\u673a\u7b49\u7ea7\u8003\u8bd5\u4e8c\u7ea7\u7b14\u8bd5\u8bd5\u5377
C\u8bed\u8a00\u7a0b\u5e8f\u8bbe\u8ba1
\uff08\u8003\u8bd5\u65f6\u95f490\u5206\u949f\uff0c\u6ee1\u5206100\u5206\uff09
\u4e00\u3001 \u9009\u62e9\u9898\uff081-10\uff0c21-40\u6bcf\u98982\u5206\uff0c11-20\u6bcf\u98981\u5206\uff0c\u517170\u5206\uff09
\u3000\u3000
(1)\u4e0b\u5217\u5173\u4e8e\u6808\u53d9\u8ff0\u6b63\u786e\u7684\u662f
\u3000\u3000A)\u6808\u9876\u5143\u7d20\u6700\u5148\u80fd\u88ab\u5220\u9664
\u3000\u3000B)\u6808\u9876\u5143\u7d20\u6700\u540e\u624d\u80fd\u88ab\u5220\u9664
\u3000\u3000C)\u6808\u5e95\u5143\u7d20\u6c38\u8fdc\u4e0d\u80fd\u88ab\u5220\u9664
\u3000\u3000D)\u4ee5\u4e0a\u4e09\u79cd\u8bf4\u6cd5\u90fd\u4e0d\u5bf9
\u3000\u3000
(2)\u4e0b\u5217\u53d9\u8ff0\u4e2d\u6b63\u786e\u7684\u662f
\u3000\u3000A)\u6709\u4e00\u4e2a\u4ee5\u4e0a\u6839\u7ed3\u70b9\u7684\u6570\u636e\u7ed3\u6784\u4e0d\u4e00\u5b9a\u662f\u975e\u7ebf\u6027\u7ed3\u6784
\u3000\u3000B)\u53ea\u6709\u4e00\u4e2a\u6839\u7ed3\u70b9\u7684\u6570\u636e\u7ed3\u6784\u4e0d\u4e00\u5b9a\u662f\u7ebf\u6027\u7ed3\u6784
\u3000\u3000C)\u5faa\u73af\u94fe\u8868\u662f\u975e\u7ebf\u6027\u7ed3\u6784
\u3000\u3000D)\u53cc\u5411\u94fe\u8868\u662f\u975e\u7ebf\u6027\u7ed3\u6784
\u3000\u3000
(3)\u67d0\u4e8c\u53c9\u6811\u5171\u67097\u4e2a\u7ed3\u70b9\uff0c\u5176\u4e2d\u53f6\u5b50\u7ed3\u70b9\u53ea\u67091\u4e2a\uff0c\u5219\u8be5\u4e8c\u53c9\u6811\u7684\u6df1\u5ea6\u4e3a(\u5047\u8bbe\u6839\u7ed3\u70b9\u5728\u7b2c1\u5c42)
\u3000\u3000A)3 B)4 C)6 D)7
\u3000\u3000
(4)\u5728\u8f6f\u4ef6\u5f00\u53d1\u4e2d\uff0c\u9700\u6c42\u5206\u6790\u9636\u6bb5\u4ea7\u751f\u7684\u4e3b\u8981\u6587\u6863\u662f
\u3000\u3000A)\u8f6f\u4ef6\u96c6\u6210\u6d4b\u8bd5\u8ba1\u5212 B)\u8f6f\u4ef6\u8be6\u7ec6\u8bbe\u8ba1\u8bf4\u660e\u4e66
\u3000\u3000C)\u7528\u6237\u624b\u518c D)\u8f6f\u4ef6\u9700\u6c42\u89c4\u683c\u8bf4\u660e\u4e66
\u3000\u3000
(5)\u7ed3\u6784\u5316\u7a0b\u5e8f\u6240\u8981\u6c42\u7684\u57fa\u672c\u7ed3\u6784\u4e0d\u5305\u62ec
\u3000\u3000A)\u987a\u5e8f\u7ed3\u6784 B)GOTO\u8df3\u8f6c
\u3000\u3000C)\u9009\u62e9(\u5206\u652f)\u7ed3\u6784 D)\u91cd\u590d(\u5faa\u73af)\u7ed3\u6784
\u3000\u3000
(6)\u4e0b\u9762\u63cf\u8ff0\u4e2d\u9519\u8bef\u7684\u662f
\u3000\u3000A)\u7cfb\u7edf\u603b\u4f53\u7ed3\u6784\u56fe\u652f\u6301\u8f6f\u4ef6\u7cfb\u7edf\u7684\u8be6\u7ec6\u8bbe\u8ba1
\u3000\u3000B)\u8f6f\u4ef6\u8bbe\u8ba1\u662f\u5c06\u8f6f\u4ef6\u9700\u6c42\u8f6c\u6362\u4e3a\u8f6f\u4ef6\u8868\u793a\u7684\u8fc7\u7a0b
\u3000\u3000C)\u6570\u636e\u7ed3\u6784\u4e0e\u6570\u636e\u5e93\u8bbe\u8ba1\u662f\u8f6f\u4ef6\u8bbe\u8ba1\u7684\u4efb\u52a1\u4e4b\u4e00
\u3000\u3000D)PAD\u56fe\u662f\u8f6f\u4ef6\u8be6\u7ec6\u8bbe\u8ba1\u7684\u8868\u793a\u5de5\u5177
\u3000\u3000
(7)\u8d1f\u8d23\u6570\u636e\u5e93\u4e2d\u67e5\u8be2\u64cd\u4f5c\u7684\u6570\u636e\u5e93\u8bed\u8a00\u662f
\u3000\u3000A)\u6570\u636e\u5b9a\u4e49\u8bed\u8a00
\u3000\u3000B)\u6570\u636e\u7ba1\u7406\u8bed\u8a00
\u3000\u3000C)\u6570\u636e\u64cd\u7eb5\u8bed\u8a00
\u3000\u3000D)\u6570\u636e\u63a7\u5236\u8bed\u8a00
\u3000\u3000
(8)\u4e00\u4e2a\u6559\u5e08\u53ef\u8bb2\u6388\u591a\u95e8\u8bfe\u7a0b\uff0c\u4e00\u95e8\u8bfe\u7a0b\u53ef\u7531\u591a\u4e2a\u6559\u5e08\u8bb2\u6388\u3002\u5219\u5b9e\u4f53\u6559\u5e08\u548c\u8bfe\u7a0b\u95f4\u7684\u8054\u7cfb\u662f
\u3000\u3000A)1:1\u8054\u7cfb B)1:m\u8054\u7cfb
\u3000\u3000C)m:1\u8054\u7cfb D)m:n\u8054\u7cfb
(9)\u6709\u4e09\u4e2a\u5173\u7cfbR\u3001S\u548cT\u5982\u4e0b\uff1a
\u3000\u3000
\u3000\u3000\u5219\u7531\u5173\u7cfbR\u548cS\u5f97\u5230\u5173\u7cfbT\u7684\u64cd\u4f5c\u662f
\u3000\u3000A)\u81ea\u7136\u8fde\u63a5 B)\u4ea4 C)\u9664 D)\u5e76
\u3000\u3000
(10)\u5b9a\u4e49\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u4e3aUInt,\u4e0b\u9762\u53ef\u4ee5\u4f5c\u4e3a\u7c7bUInt\u5b9e\u4f8b\u5316\u503c\u7684\u662f
\u3000\u3000A)-369 B)369 C)0.369 D)\u6574\u6570\u96c6\u5408{1,2,3,4,5}
\u3000\u3000
(11)\u8ba1\u7b97\u673a\u9ad8\u7ea7\u8bed\u8a00\u7a0b\u5e8f\u7684\u8fd0\u884c\u65b9\u6cd5\u6709\u7f16\u8bd1\u6267\u884c\u548c\u89e3\u91ca\u6267\u884c\u4e24\u79cd\uff0c\u4ee5\u4e0b\u53d9\u8ff0\u4e2d\u6b63\u786e\u7684\u662f
\u3000\u3000A)C\u8bed\u8a00\u7a0b\u5e8f\u4ec5\u53ef\u4ee5\u7f16\u8bd1\u6267\u884c
\u3000\u3000B)C\u8bed\u8a00\u7a0b\u5e8f\u4ec5\u53ef\u4ee5\u89e3\u91ca\u6267\u884c
\u3000\u3000C)C\u8bed\u8a00\u7a0b\u5e8f\u65e2\u53ef\u4ee5\u7f16\u8bd1\u6267\u884c\u53c8\u53ef\u4ee5\u89e3\u91ca\u6267\u884c
\u3000\u3000D)\u4ee5\u4e0a\u8bf4\u6cd5\u90fd\u4e0d\u5bf9
\u3000\u3000
(12)\u4ee5\u4e0b\u53d9\u8ff0\u4e2d\u9519\u8bef\u7684\u662f
\u3000\u3000A)C\u8bed\u8a00\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u662f\u7531\u4e00\u7cfb\u5217\u673a\u5668\u6307\u4ee4\u6784\u6210\u7684
\u3000\u3000B)\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u6e90\u7a0b\u5e8f\u4e0d\u80fd\u76f4\u63a5\u5728\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c
\u3000\u3000C)\u901a\u8fc7\u7f16\u8bd1\u5f97\u5230\u7684\u4e8c\u8fdb\u5236\u76ee\u6807\u7a0b\u5e8f\u9700\u8981\u8fde\u63a5\u624d\u53ef\u4ee5\u8fd0\u884c
\u3000\u3000D)\u5728\u6ca1\u6709\u5b89\u88c5C\u8bed\u8a00\u96c6\u6210\u5f00\u53d1\u73af\u5883\u7684\u673a\u5668\u4e0a\u4e0d\u80fd\u8fd0\u884cC\u6e90\u7a0b\u5e8f\u751f\u6210\u7684.exe\u6587\u4ef6
\u3000\u3000
(13)\u4ee5\u4e0b\u9009\u9879\u4e2d\u4e0d\u80fd\u7528\u4f5cC\u7a0b\u5e8f\u5408\u6cd5\u5e38\u91cf\u7684\u662f
\u3000\u3000A)1,234 B)'123'
\u3000\u3000C)123 D)"\x7G"
\u3000\u3000
(14)\u4ee5\u4e0b\u9009\u9879\u4e2d\u53ef\u7528\u4f5cC\u7a0b\u5e8f\u5408\u6cd5\u5b9e\u6570\u7684\u662f
\u3000\u3000A).1e0 B)3.0e0.2
\u3000\u3000C)E9 D)9.12E
\u3000\u3000
(15)\u82e5\u6709\u5b9a\u4e49\u8bed\u53e5\uff1ainta=3,b=2,c=1;\uff0c\u4ee5\u4e0b\u9009\u9879\u4e2d\u9519\u8bef\u7684\u8d4b\u503c\u8868\u8fbe\u5f0f\u662f
\u3000\u3000A)a=(b=4)=3; B)a=b=c+1;
\u3000\u3000C)a=(b=4)+c; D)a=1+(b=c=4);
\u3000\u3000
(16)\u6709\u4ee5\u4e0b\u7a0b\u5e8f\u6bb5
\u3000\u3000char name[20];
\u3000\u3000int num;
\u3000\u3000scanf("name=%s num=%d",name;&num);
\u3000\u3000\u5f53\u6267\u884c\u4e0a\u8ff0\u7a0b\u5e8f\u6bb5\uff0c\u5e76\u4ece\u952e\u76d8\u8f93\u5165\uff1aname=Lili num=1001\u540e\uff0cname\u7684\u503c\u4e3a
\u3000\u3000A)Lili B)name=Lili C)Lili num= D)name=Lili num=1001
\u3000\u3000
(17)if\u8bed\u53e5\u7684\u57fa\u672c\u5f62\u5f0f\u662f\uff1aif(\u8868\u8fbe\u5f0f)\u8bed\u53e5\uff0c\u4ee5\u4e0b\u5173\u4e8e\u201c\u8868\u8fbe\u5f0f\u201d\u503c\u7684\u53d9\u8ff0\u4e2d\u6b63\u786e\u7684\u662f
\u3000\u3000A)\u5fc5\u987b\u662f\u903b\u8f91\u503c B)\u5fc5\u987b\u662f\u6574\u6570\u503c
\u3000\u3000C)\u5fc5\u987b\u662f\u6b63\u6570 D)\u53ef\u4ee5\u662f\u4efb\u610f\u5408\u6cd5\u7684\u6570\u503c
(18)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int x=011;
\u3000\u3000printf("%d\n",++x);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)12 B)11 C)10 D)9
\u3000
(19)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int s;
\u3000\u3000scanf("%d",&s);
\u3000\u3000while(s>0)
\u3000\u3000{ switch(s)
\u3000\u3000{ case1:printf("%d",s+5);
\u3000\u3000case2:printf("%d",s+4); break;
\u3000\u3000case3:printf("%d",s+3);
\u3000\u3000default:printf("%d",s+1);break;
\u3000\u3000}
\u3000\u3000scanf("%d",&s);
\u3000\u3000}
\u3000\u3000}
\u3000\u3000\u8fd0\u884c\u65f6\uff0c\u82e5\u8f93\u51651 2 3 4 5 0\uff0c\u5219\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)6566456 B)66656 C)66666 D)6666656
\u3000\u3000
(20)\u6709\u4ee5\u4e0b\u7a0b\u5e8f\u6bb5
\u3000\u3000int i,n;
\u3000\u3000for(i=0;i<8;i++)
\u3000\u3000{ n=rand()%5;
\u3000\u3000switch (n)
\u3000\u3000{ case 1:
\u3000\u3000case 3:printf("%d\n",n); break;
\u3000\u3000case 2:
\u3000\u3000case 4:printf("%d\n",n); continue;
\u3000\u3000case 0:exit(0);
\u3000\u3000}
\u3000\u3000printf("%d\n",n);
\u3000\u3000}
\u3000\u3000\u4ee5\u4e0b\u5173\u4e8e\u7a0b\u5e8f\u6bb5\u6267\u884c\u60c5\u51b5\u7684\u53d9\u8ff0\uff0c\u6b63\u786e\u7684\u662f
\u3000\u3000A)for\u5faa\u73af\u8bed\u53e5\u56fa\u5b9a\u6267\u884c8\u6b21 B)\u5f53\u4ea7\u751f\u7684\u968f\u673a\u6570n\u4e3a4\u65f6\u7ed3\u675f\u5faa\u73af\u64cd\u4f5c
\u3000\u3000C)\u5f53\u4ea7\u751f\u7684\u968f\u673a\u6570n\u4e3a1\u548c2\u65f6\u4e0d\u505a\u4efb\u4f55\u64cd\u4f5cD)\u5f53\u4ea7\u751f\u7684\u968f\u673a\u6570n\u4e3a0\u65f6\u7ed3\u675f\u7a0b\u5e8f\u8fd0\u884c
\u3000
(21)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ char s[]="012xy\08s34f4w2";
\u3000\u3000int i,n=0;
\u3000\u3000for(i=0;s[i]!=0;i++)
\u3000\u3000if(s[i]>='0'&&s[i]<='9') n++;
\u3000\u3000printf("%d\n",n);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)0 B)3 C)7 D)8
(22)\u82e5i\u548ck\u90fd\u662fint\u7c7b\u578b\u53d8\u91cf\uff0c\u6709\u4ee5\u4e0bfor\u8bed\u53e5
\u3000\u3000for(i=0,k=-1;k=1;k++) printf("*****\n");
\u3000\u3000\u4e0b\u9762\u5173\u4e8e\u8bed\u53e5\u6267\u884c\u60c5\u51b5\u7684\u53d9\u8ff0\u4e2d\u6b63\u786e\u7684\u662f
\u3000\u3000A)\u5faa\u73af\u4f53\u6267\u884c\u4e24\u6b21B)\u5faa\u73af\u4f53\u6267\u884c\u4e00\u6b21C)\u5faa\u73af\u4f53\u4e00\u6b21\u4e5f\u4e0d\u6267\u884cD)\u6784\u6210\u65e0\u9650\u5faa\u73af
\u3000\u3000
(23)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ char b,c; int i;
\u3000\u3000b='a'; c='A';
\u3000\u3000for(i=0;i<6;i++)
\u3000\u3000{ if(i%2) putchar(i+b);
\u3000\u3000else putchar(i+c);
\u3000\u3000} printf("\n");
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)ABCDEF B)AbCdEf C)aBcDeF D)abcdef
\u3000\u3000
(24)\u8bbe\u6709\u5b9a\u4e49\uff1adoublex[10],*p=x;\uff0c\u4ee5\u4e0b\u80fd\u7ed9\u6570\u7ec4x\u4e0b\u6807\u4e3a6\u7684\u5143\u7d20\u8bfb\u5165\u6570\u636e\u7684\u6b63\u786e\u8bed\u53e5\u662f
\u3000\u3000A)scanf("%f",&x[6]); B)scanf("%lf",*(x+6));
\u3000\u3000C)scanf("%lf",p+6); D)scanf("%lf",p[6]);
\u3000\u3000
(25)\u6709\u4ee5\u4e0b\u7a0b\u5e8f(\u8bf4\u660e\uff1a\u5b57\u6bcdA\u7684ASCII\u7801\u503c\u662f65)
\u3000\u3000#include
\u3000\u3000void fun(char *s)
\u3000\u3000{ while(*s)
\u3000\u3000{ if(*s%2) printf("%c",*s);
\u3000\u3000s++;
\u3000\u3000}
\u3000\u3000}
\u3000\u3000main()
\u3000\u3000{ char a[]="BYTE";
\u3000\u3000fun(a); printf("\n");
\u3000\u3000}
\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f
A) BY B) BT C) YT D) YE
\u3000\u3000
(26)\u6709\u4ee5\u4e0b\u7a0b\u5e8f\u6bb5
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ \u2026
\u3000\u3000while( getchar()!='\n');
\u3000\u3000\u2026
\u3000\u3000}
\u3000\u3000\u4ee5\u4e0b\u53d9\u8ff0\u4e2d\u6b63\u786e\u7684\u662f
A)\u6b64while\u8bed\u53e5\u5c06\u65e0\u9650\u5faa\u73af
B) getchar()\u4e0d\u53ef\u4ee5\u51fa\u73b0\u5728while\u8bed\u53e5\u7684\u6761\u4ef6\u8868\u8fbe\u5f0f\u4e2d
\u3000\u3000C)\u5f53\u6267\u884c\u6b64while\u8bed\u53e5\u65f6\uff0c\u53ea\u6709\u6309\u56de\u8f66\u952e\u7a0b\u5e8f\u624d\u80fd\u7ee7\u7eed\u6267\u884c
\u3000\u3000D)\u5f53\u6267\u884c\u6b64while\u8bed\u53e5\u65f6\uff0c\u6309\u4efb\u610f\u952e\u7a0b\u5e8f\u5c31\u80fd\u7ee7\u7eed\u6267\u884c
(27)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int x=1,y=0;
\u3000\u3000if(!x) y++;
\u3000\u3000else if(x==0)
\u3000\u3000if (x) y+=2;
\u3000\u3000else y+=3;
\u3000\u3000printf("%d\n",y);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)3 B)2 C)1 D) 0
(28)\u82e5\u6709\u5b9a\u4e49\u8bed\u53e5\uff1achars[3][10],(*k)[3],*p;\uff0c\u5219\u4ee5\u4e0b\u8d4b\u503c\u8bed\u53e5\u6b63\u786e\u7684\u662f
\u3000\u3000A)p=s; B)p=k; C)p=s[0]; D)k=s;
\u3000\u3000
(29)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000void fun(char *c)
\u3000\u3000{ while(*c)
\u3000\u3000{ if(*c>='a'&&*c<='z') *c=*c-('a'-'A');
\u3000\u3000c++;
\u3000\u3000}
\u3000\u3000}
\u3000\u3000main()
\u3000\u3000{ char s[81];
\u3000\u3000gets(s); fun(s); puts(s)\uff1a
\u3000\u3000}
\u3000\u3000\u5f53\u6267\u884c\u7a0b\u5e8f\u65f6\u4ece\u952e\u76d8\u4e0a\u8f93\u5165Hello Beijing\uff0c\u5219\u7a0b\u5e8f\u7684\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)hello beijing B)Hello Beijing C)HELLO BEIJING D)hELLO Beijing
\u3000\u3000
(30)\u4ee5\u4e0b\u51fd\u6570\u7684\u529f\u80fd\u662f\uff1a\u901a\u8fc7\u952e\u76d8\u8f93\u5165\u6570\u636e\uff0c\u4e3a\u6570\u7ec4\u4e2d\u7684\u6240\u6709\u5143\u7d20\u8d4b\u503c\u3002
\u3000\u3000#include
\u3000\u3000#define N 10
\u3000\u3000void fun(int x[N])
\u3000\u3000{ int i=0;
\u3000\u3000while(i
\u3000\u3000}
\u3000\u3000\u5728\u7a0b\u5e8f\u4e2d\u4e0b\u5212\u7ebf\u5904\u5e94\u586b\u5165\u7684\u662f
\u3000\u3000A)x+i B)&x[i+1]C)x+(i++) D)&x[++i]
\u3000\u3000
(31)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ char a[30],b[30];
\u3000\u3000scanf("%s",a);
\u3000\u3000gets(b);
\u3000\u3000printf("%s\n %s\n",a,b);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u65f6\u82e5\u8f93\u5165\uff1a
\u3000\u3000how are you? I am fine
\u3000\u3000\u5219\u8f93\u51fa\u7ed3\u679c\u662f
\u3000\u3000A)how are you? B)how I am fine are you? I am fine
\u3000\u3000C)how are you? I am fine D)row are you?
\u3000\u3000
(32)\u8bbe\u6709\u5982\u4e0b\u51fd\u6570\u5b9a\u4e49
\u3000\u3000int fun(int k)
\u3000\u3000{ if (k<1) return 0;
\u3000\u3000else if(k==1) return 1;
\u3000\u3000else return fun(k-1)+1;
\u3000\u3000}
\u3000\u3000\u82e5\u6267\u884c\u8c03\u7528\u8bed\u53e5\uff1an=fun(3);\uff0c\u5219\u51fd\u6570fun\u603b\u5171\u88ab\u8c03\u7528\u7684\u6b21\u6570\u662f
\u3000\u3000A)2 B)3 C)4 D)5
\u3000\u3000
(33)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000int fun (int x,int y)
\u3000\u3000{ if (x!=y) return ((x+y);2);
\u3000\u3000else return (x);
\u3000\u3000}
\u3000\u3000main()
\u3000\u3000{ int a=4,b=5,c=6;
\u3000\u3000printf("%d\n",fun(2*a,fun(b,c)));
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)3 B)6 C)8 D)12
(34)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000int fun()
\u3000\u3000{ static int x=1;
\u3000\u3000x*=2;
\u3000\u3000return x;
\u3000\u3000}
\u3000\u3000main()
\u3000\u3000{ int i,s=1;
\u3000\u3000for(i=1;i<=3;i++) s*=fun();
\u3000\u3000printf("%d\n",s);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)0 B)10 C)30 D)64
\u3000\u3000
(35)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000#define S(x) 4*(x)*x+1
\u3000\u3000main()
\u3000\u3000{ int k=5,j=2;
\u3000\u3000printf("%d\n",S(k+j));
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)197 B)143 C)33 D)28
\u3000\u3000
(36)\u8bbe\u6709\u5b9a\u4e49\uff1astruct {charmark[12];int num1;double num2;} t1,t2;\uff0c\u82e5\u53d8\u91cf\u5747\u5df2\u6b63\u786e\u8d4b\u521d\u503c\uff0c\u5219\u4ee5\u4e0b\u8bed\u53e5\u4e2d\u9519\u8bef\u7684\u662f
\u3000\u3000A)t1=t2; B)t2.num1=t1.num1;C)t2.mark=t1.mark; D)t2.num2=t1.num2;
\u3000\u3000
(37)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000struct ord
\u3000\u3000{ int x\uff0cy;}dt[2]={1,2,3,4};
\u3000\u3000main()
\u3000\u3000{
\u3000\u3000struct ord *p=dt;
\u3000\u3000printf("%d,",++(p->x));printf("%d\n",++(p->y));
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)1,2 B)4,1 C)3,4 D)2,3
\u3000\u3000
(38)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000struct S
\u3000\u3000{ int a,b;}data[2]={10,100,20,200};
\u3000\u3000main()
\u3000\u3000{ struct S p=data[1];
\u3000\u3000printf("%d\n",++(p.a));
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)10 B)11 C)20 D)21
\u3000\u3000
(39)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ unsigned char a=8,c;
\u3000\u3000c=a>>3;
\u3000\u3000printf("%d\n",c);
\u3000\u3000}
\u3000\u3000\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f A)32 B)16 C)1 D)0
\u3000\u3000
(40)\u8bbefp\u5df2\u5b9a\u4e49\uff0c\u6267\u884c\u8bed\u53e5fp=fopen("file","w");\u540e\uff0c\u4ee5\u4e0b\u9488\u5bf9\u6587\u672c\u6587\u4ef6file\u64cd\u4f5c\u53d9\u8ff0\u7684\u9009\u9879\u4e2d\u6b63\u786e\u7684\u662f
\u3000\u3000A)\u5199\u64cd\u4f5c\u7ed3\u675f\u540e\u53ef\u4ee5\u4ece\u5934\u5f00\u59cb\u8bfb B)\u53ea\u80fd\u5199\u4e0d\u80fd\u8bfb
\u3000\u3000C)\u53ef\u4ee5\u5728\u539f\u6709\u5185\u5bb9\u540e\u8ffd\u52a0\u5199 D)\u53ef\u4ee5\u968f\u610f\u8bfb\u548c\u5199
\u4e8c\u3001\u586b\u7a7a\u9898
(1)\u6709\u5e8f\u7ebf\u6027\u8868\u80fd\u8fdb\u884c\u4e8c\u5206\u67e5\u627e\u7684\u524d\u63d0\u662f\u8be5\u7ebf\u6027\u8868\u5fc5\u987b\u662f \u30101\u3011 \u5b58\u50a8\u7684\u3002
(2)\u4e00\u68f5\u4e8c\u53c9\u6811\u7684\u4e2d\u5e8f\u904d\u5386\u7ed3\u679c\u4e3aDBEAFC\uff0c\u524d\u5e8f\u904d\u5386\u7ed3\u679c\u4e3aABDECF\uff0c\u5219\u540e\u5e8f\u904d\u5386\u7ed3\u679c\u4e3a \u30102\u3011 \u3002
(3)\u5bf9\u8f6f\u4ef6\u8bbe\u8ba1\u7684\u6700\u5c0f\u5355\u4f4d(\u6a21\u5757\u6216\u7a0b\u5e8f\u5355\u5143)\u8fdb\u884c\u7684\u6d4b\u8bd5\u901a\u5e38\u79f0\u4e3a\u30103\u3011 \u6d4b\u8bd5
\u3002
(4)\u5b9e\u4f53\u5b8c\u6574\u6027\u7ea6\u675f\u8981\u6c42\u5173\u7cfb\u6570\u636e\u5e93\u4e2d\u5143\u7ec4\u7684 \u30104\u3011 \u5c5e\u6027\u503c\u4e0d\u80fd\u4e3a\u7a7a\u3002
(5)\u5728\u5173\u7cfbA(S,SN,D)\u548c\u5173\u7cfbB(D,CN,NM)\u4e2d\uff0cA\u7684\u4e3b\u5173\u952e\u5b57\u662fS\uff0cB\u7684\u4e3b\u5173\u952e\u5b57\u662fD\uff0c\u5219\u79f0 \u30105\u3011 \u662f\u5173\u7cfbA\u7684\u5916\u7801\u3002
\u3000\u3000
(6)\u4ee5\u4e0b\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f \u30106\u3011\u3002
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int a;
\u3000\u3000a=(int)((double)(3/2)+0.5+(int)1.99*2);
\u3000\u3000printf("%d\n",a);
\u3000\u3000}
\u3000\u3000
(7)\u6709\u4ee5\u4e0b\u7a0b\u5e8f
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int x;
\u3000\u3000scanf("%d",&x);
\u3000\u3000if(x>15) printf("%d",x-5);
\u3000\u3000if(x>10) printf("%d",x);
\u3000\u3000if(x>5) printf("%d\n",x+5);
\u3000\u3000}
\u3000\u3000\u82e5\u7a0b\u5e8f\u8fd0\u884c\u65f6\u4ece\u952e\u76d8\u8f93\u516512\uff0c\u5219\u8f93\u51fa\u7ed3\u679c\u4e3a \u30107\u3011 \u3002
\u3000\u3000
(8)\u6709\u4ee5\u4e0b\u7a0b\u5e8f(\u8bf4\u660e\uff1a\u5b57\u7b260\u7684ASCII\u7801\u503c\u4e3a48)
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ char c1,c2;
\u3000\u3000scanf("%d",&c1);
\u3000\u3000c2=c1+9;
\u3000\u3000printf("%c%c\n",c1,c2);
\u3000\u3000}
\u3000\u3000\u82e5\u7a0b\u5e8f\u8fd0\u884c\u65f6\u4ece\u952e\u76d8\u8f93\u516548\uff0c\u5219\u8f93\u51fa\u7ed3\u679c\u4e3a \u30108\u3011 \u3002
\u3000\u3000
(9)\u6709\u4ee5\u4e0b\u51fd\u6570
\u3000\u3000void prt(char ch,int n)
\u3000\u3000{ int i;
\u3000\u3000for(i=1;i<=n;i++)
\u3000\u3000printf(i%6!=0?"%c":"%c\n",ch);
\u3000\u3000}
\u3000\u3000\u6267\u884c\u8c03\u7528\u8bed\u53e5prt('*',24);\u540e\uff0c\u51fd\u6570\u5171\u8f93\u51fa\u4e86 \u30109\u3011 \u884c*\u53f7\u3002
(10)\u4ee5\u4e0b\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f \u301010\u3011\u3002
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int x=10,y=20,t=0;
\u3000\u3000if(x==y)t=x;x=y;y=t;
\u3000\u3000printf("%d %d\n",x,y);
\u3000\u3000}
\u3000\u3000
(11)\u5df1\u77e5a\u6240\u6307\u7684\u6570\u7ec4\u4e2d\u6709N\u4e2a\u5143\u7d20\u3002\u51fd\u6570fun\u7684\u529f\u80fd\u662f\uff0c\u5c06\u4e0b\u6807k(k>0)\u5f00\u59cb\u7684\u540e\u7eed\u5143\u7d20\u5168\u90e8\u5411\u524d\u79fb\u52a8\u4e00\u4e2a\u4f4d\u7f6e\u3002\u8bf7\u586b\u7a7a\u3002
\u3000\u3000void fun(int a[N],int k)
\u3000\u3000{ int i;
\u3000\u3000for(i=k;i
\u3000\u3000}
\u3000\u3000
(12)\u6709\u4ee5\u4e0b\u7a0b\u5e8f\uff0c\u8bf7\u5728 \u301012\u3011 \u5904\u586b\u5199\u6b63\u786e\u8bed\u53e5\uff0c\u4f7f\u7a0b\u5e8f\u53ef\u6b63\u5e38\u7f16\u8bd1\u8fd0\u884c\u3002
\u3000\u3000#include
\u3000\u3000\u301012\u3011 ;
\u3000\u3000main()
\u3000\u3000{ double x,y,(*p)();
\u3000\u3000scanf("%lf%lf",&x,&y);
\u3000\u3000p=avg;
\u3000\u3000printf("%f\n",(*p)(x,y));
\u3000\u3000}
\u3000\u3000double avg(double a,double b)
\u3000\u3000{ return((a+b)/2);}
\u3000\u3000
(13)\u4ee5\u4e0b\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f \u301013\u3011\u3002
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ int i,n[5]={0};
\u3000\u3000for(i=1;i<=4;i++)
\u3000\u3000{ n[i]==n[i-1]*2+1; printf("%d",n[i]); }
\u3000\u3000printf("\n");
\u3000\u3000}
\u3000\u3000
(14)\u4ee5\u4e0b\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f \u301014\u3011\u3002
\u3000\u3000#include
\u3000\u3000#include
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ char *p; int i;
\u3000\u3000p=(char *)malloc(sizeof(char)*20);
\u3000\u3000strcpy(p,"welcome");
\u3000\u3000for(i=6;i>=0;i--) putchar(*(p+i));
\u3000\u3000printf("\n-"); free(p);
\u3000\u3000}
\u3000\u3000
(15)\u4ee5\u4e0b\u7a0b\u5e8f\u8fd0\u884c\u540e\u7684\u8f93\u51fa\u7ed3\u679c\u662f \u301015\u3011\u3002
\u3000\u3000#include
\u3000\u3000main()
\u3000\u3000{ FILE *fp; int x[6]={1,2,3,4,5,6},i;
\u3000\u3000fp=fopen("test.dat","wb");
\u3000\u3000fwrite(x,sizeof(int),3,fp);
\u3000\u3000rewind(fp);
\u3000\u3000fread(x,sizeof(int),3,fp);
\u3000\u3000for(i=0;i<6;i++) printf("%d",x[i]);
\u3000\u3000printf("\n");
\u3000\u3000fclose(fp);
\u3000\u3000}
2011\u5e743\u6708\u5168\u56fd\u8ba1\u7b97\u673a\u7b49\u7ea7\u8003\u8bd5\u4e8c\u7ea7\u7b14\u8bd5\u8bd5\u5377
C\u8bed\u8a00\u7a0b\u5e8f\u8bbe\u8ba1\u7b54\u6848
\u4e00\uff0e\u9009\u62e9\u98981-5 ABDDB
6-10 ACDCB 11-15 ADBAA
16-20 ADCAD 21-25 BDBCD
26-30 CDCCC 31-35 BBBDB
36-40 CDDCB
\u4e8c\uff0c\u586b\u7a7a\u9898
1) \u987a\u5e8f 2) DEBFCA 3) \u5355\u5143\u6d4b\u8bd5 4) \u4e3b\u952e 5) D 6) 3 7) 1217
8) 09 9) 4 10) 20 0 11) i-1 12\uff09 double avg(doublea,double b) 13) 13715
14) e(E)moclew 15\uff09 123456
2010\u5e749\u6708\u5168\u56fd\u8ba1\u7b97\u673a\u7b49\u7ea7\u8003\u8bd5\u4e8c\u7ea7C\u7b14\u8bd5\u8bd5\u5377\u7b54\u6848
\u4e00\u3001\u9009\u62e9\u9898
1~5\uff1a BCDAA 6~10\uff1aDDCCA 11~15\uff1aCBBAD 16~20\uff1a DAACB
21~25\uff1a BCBDC 26~30 \uff1aCBDDA 31~35\uff1aACBCD 36~40 \uff1aBACBD
\u4e8c\u3001\u586b\u7a7a
1.1DCBA2345 2.n-1 3.25 4.\u7ed3\u6784\u5316 5.\u7269\u7406\u8bbe\u8ba1 6.2008
7.15 8.\u975e0 9. 1 4 13 40 10.i 11.2
12.a[row][col] 13.3 14.*s 15.FILE
\u7b2c\u4e00\u9898\uff0c\u7b2c\u4e00\u6b21\u8c03\u7528func\u51fd\u6570\uff0c\u56e0\u4e3am\u672a\u8d4b\u521d\u503c\u3002\u4e14\u4e3astatic\u7c7b\u578b\uff0c\u6240\u4ee5m\u4e3a0\uff0ci=2.\u8fd9\u91cc\u7684m\u90fd\u4e3afunc\u51fd\u6570\u91cc\u9762\u7684m \u8fd0\u7b97\u540e\uff0ci=(m+1)+i=(0+1)+2=3, \u6240\u4ee5i\u88ab\u8d4b\u503c\u4e3a3. m=i+a+b=3+4+1=8,\u8fd4\u56dem\uff0c\u8f93\u51fap=8. \u7b2c\u4e8c\u6b21\u8c03\u7528\u3002 \u6b64\u65f6i=3,m=8; \u8fd0\u7b97\u540e\uff0ci=(m+1)+i=(8+1)+3=12,\u6b64\u65f6i\u88ab\u8d4b\u503c\u4e3a12. m=i+a+b=12+4+1=17. \u2014\u2014CDKK
首先你需要注意两点:1.
strlen统计字符串长度时,是以'\0'作为字符串结束的标志的
也就是说,
不论是在字符串中还是字符串尾,
只要遇到'\0',就认为字符串结束,不再继续统计字符串长度
2.
\是转义字符,所以一些转义字符的意义需要注意
char s[]="\\141\141abc\t";
进行strlen统计时,得到的结果为:9
共有如下字符:
\:\\连用,标志一个反斜杠字符
1
4
1
\141:\ddd标志三位八进制
a
b
c
\t
char c[]="\t\v\\\0will\n";
进行strlen统计时,得到的结果为:3
共有如下字符:
\t: 水平制表符
\v:垂直制表符
\ :\\连用,标志一个反斜杠字符
随后遇到'\0',统计终止
取决""内实际有度少个字符
当碰到\0的时候 就认为该字符串已经结束了 也就是从第一个字符到\0之间的字符数 是strlen所求得的
是这样的。在标C的情况下。strlen后的括号内的数字是取决于在“”之内实际的字符数的。比方你""内是N个字符。那么你的数组实际长度就是N-1(因为在C语言中一切数字都是从0开始的)。
绛旓細4銆C璇█鍙橀噺鎸夊叾浣滅敤鍩熷垎涓 鍜 5銆佸嚒鍦ㄥ嚱鏁颁腑鏈寚瀹氬瓨鍌ㄧ被鍒殑灞閮ㄥ彉閲,鍏堕粯璁ょ殑瀛樺偍绫诲埆涓 涓夈 鐪嬬▼搴忓啓缁撴灉 1銆#include Int abc(int u,int v); Void main() {int a=24,b=16,c; c=abc(a,b); printf(鈥渧alue=%d鈥,c); } Int abc(int u, int v) {int w; While(v) {w=u%v; ...
绛旓細鍗曢」閫夋嫨棰40鍒嗭紙鍚叕鍏卞熀纭鐭ヨ瘑閮ㄥ垎10鍒嗭級銆傛搷浣滈60鍒嗭紙鍖呮嫭鍩烘湰鎿嶄綔棰樸佺畝鍗曞簲鐢ㄩ鍙婄患鍚堝簲鐢ㄩ锛夈傝冭瘯鏂瑰紡锛氫笂鏈鸿冭瘯锛岃冭瘯鏃堕暱120鍒嗛挓锛屾弧鍒100鍒嗐
绛旓細(4)u鏍煎紡绗︼紝鐢ㄦ潵杈撳嚭unsigned鍨嬫暟鎹紝鍗虫棤绗﹀彿鏁帮紝浠ュ崄杩涘埗鏁板舰寮忚緭鍑恒傛牸寮忥細%u锛%mu,%lu閮藉彲銆傚弬瑙:li4-3.c/*鏃犵鍙锋暟鎹殑杈撳嚭*/ (5)c鏍煎紡绗︼紝鐢ㄦ潵杈撳嚭涓涓瓧绗︺傛牸寮忥細%c锛%mc閮藉彲銆(6)s鏍煎紡绗︼紝鐢ㄦ潵杈撳嚭涓涓瓧绗︿覆銆傛牸寮忥細%s锛%ms,%-ms锛%m.ns锛%-m.ns閮藉彲銆傚弬瑙侊細li4-5.c ...
绛旓細涓嶄細姝诲惊鐜紝int绫诲瀷鐨勫间篃鏈夋渶澶у硷紝灏卞綋鍋65535鏉ョ畻锛屽綋鍦ㄦ渶澶у肩殑鍩虹涓婂姞1锛岄偅涔堝氨婧㈠嚭锛c璇█涓槸娌℃湁杩涗綅锛岃岀洿鎺ユ槸i=0.涔熷氨鏄5鍒版渶澶у间箣闂村鐞嗐傝繕鏈夊氨鏄痓reak鏉′欢鎴愮珛鐨勬椂鍊欎篃浼氱粓姝
绛旓細1.strlen缁熻瀛楃涓查暱搴︽椂锛屾槸浠'\0'浣滀负瀛楃涓茬粨鏉熺殑鏍囧織鐨 涔熷氨鏄锛屼笉璁烘槸鍦ㄥ瓧绗︿覆涓繕鏄瓧绗︿覆灏撅紝鍙閬囧埌'\0'锛屽氨璁や负瀛楃涓茬粨鏉燂紝涓嶅啀缁х画缁熻瀛楃涓查暱搴 2.\鏄浆涔夊瓧绗︼紝鎵浠ヤ竴浜涜浆涔夊瓧绗︾殑鎰忎箟闇瑕佹敞鎰 char s[]="\\141\141abc\t";杩涜strlen缁熻鏃讹紝寰楀埌鐨勭粨鏋滀负锛9 鍏辨湁濡備笅瀛楃...
绛旓細浜岀骇c璇█绋嬪簭璁捐鑰冮夋嫨棰樺拰鎿嶄綔棰樸傚叿浣撹冭瘯鍐呭濡備笅锛1銆侀夋嫨棰橈紙40灏忛锛屾瘡棰1鍒嗭紝鍏40鍒嗭級锛氬寘鎷1~10棰樼殑浜岀骇鍏叡鍩虹鐭ヨ瘑鍜11~40棰樼殑C璇█鍐呭銆傚叾涓紝浜岀骇鍏叡鍩虹鐭ヨ瘑娑电洊鏁版嵁缁撴瀯涓庣畻娉曘佺▼搴忚璁″熀纭銆佽蒋浠跺伐绋嬪熀纭銆佹暟鎹簱璁捐鍩虹鍥涢儴鍒嗐侰璇█閮ㄥ垎鍒欐秹鍙婂熀纭鐭ヨ瘑锛堝C璇█姒傝堪銆佸父閲忎笌鍙橀噺...
绛旓細浜岀骇C璇█绋嬪簭璁捐鑰冭瘯娑夊強鍏叡鍩虹鐭ヨ瘑鍜孋璇█涓ゅ潡銆傚叕鍏卞熀纭鐭ヨ瘑鍐呭鍖呮嫭鏁版嵁缁撴瀯涓庣畻娉曘佺▼搴忚璁″熀纭銆佽蒋浠跺伐绋嬪熀纭銆佹暟鎹簱璁捐鍩虹鍥涢儴鍒嗐傝10涓崟閫夋瘡涓1鍒嗐侰璇█鏈夊熀纭鐭ヨ瘑(C璇█姒傝堪銆佸父閲忎笌鍙橀噺銆佹暟鎹被鍨嬨佽繍绠楃鍜岃〃杈惧紡)锛岀紪绋嬩笁澶х粨鏋(椤哄簭缁撴瀯銆侀夋嫨缁撴瀯銆佸惊鐜粨鏋)锛屾暟缁勩佸嚱鏁板拰鎸囬拡锛屽叾浠...
绛旓細璁$畻鏈浜岀骇c璇█鏈鍚庝竴閬撳ぇ棰樻槸鎸夌収杩囩▼缁欏垎鐨勶紝涓轰汉宸ラ槄鍗 1.璁$畻鏈轰簩绾璇█鏁村紶鍗峰瓙涓虹焊涓婄瓟棰橈紝浣嗘槸鏁村紶鍗峰瓙浼氭壂鎻忓埌鐢佃剳閲屽幓銆傞夋嫨棰樼敱鐢佃剳鑷姩璇勫垽锛屽~绌哄拰绠绛旀壂鎻忓埌鐢佃剳浠ュ悗鐢变汉宸ユ壒鏀广2.C璇█鑰冭瘯鏈鍚庝竴閬撻鐩槸鏈変竴瀹氶毦搴︼紝涓鑸彧鏈夌櫨鍒嗕箣30鐨勪汉鑳芥嬁婊″垎锛屽缓璁笉浼氬仛鐨勮瘽鍐欏嚑涓В绛旀楠わ紝杩...
绛旓細璁$畻鏈浜岀骇c璇█鑰冭瘯鑰冭瘯瑕佹眰锛氫竴銆佺啛鎮塚isual C++2010 Express闆嗘垚寮鍙戠幆澧冦備簩銆佹帉鎻$粨鏋勫寲绋嬪簭璁捐鐨勬柟娉曪紝鍏锋湁鑹ソ鐨勭▼搴忚璁¢鏍笺備笁銆佹帉鎻$▼搴忚璁′腑绠鍗曠殑鏁版嵁缁撴瀯鍜岀畻娉曞苟鑳介槄璇荤畝鍗曠殑绋嬪簭銆傚洓銆佸湪Visual C++2010 Express闆嗘垚鐜涓嬶紝鑳藉缂栧啓绠鍗曠殑C绋嬪簭锛屽苟鍏锋湁鍩烘湰鐨勭籂閿欏拰璋冭瘯绋嬪簭鐨勮兘鍔涖備互涓婁究鏄...
绛旓細绛:浜岀骇C璇█绋嬪簭璁捐棰樺瀷涓昏鍖呮嫭鍗曢」閫夋嫨棰樸佺▼搴忓~绌洪銆佺▼搴忔敼閿欓鍜岀▼搴忚璁¢銆傚叿浣撳涓:1.鍗曢」閫夋嫨棰橈紝40棰橈紝鍏40鍒嗭紙鍚叕鍏卞熀纭鐭ヨ瘑閮ㄥ垎10鍒嗭級锛2.绋嬪簭濉┖棰橈紝3绌猴紝鍏18鍒嗭紱3.绋嬪簭鏀归敊棰橈細2鍚勯敊璇紝鍏18鍒嗭紱4.绋嬪簭璁捐棰橈細鍏24鍒嗐傛嫇灞:璁$畻鏈浜岀骇c璇█绋嬪簭璁捐骞朵笉闅撅紝涓昏鑰冨療鐨勬槸鍩烘湰...