小战帅哥吧 关注:9贴子:316

下游戏没速度

只看楼主收藏回复

受不了了!!!!!去开迅雷会员去



IP属地:湖南1楼2012-07-04 22:43回复
    电信


    2楼2012-07-04 22:46
    收起回复


      IP属地:广东3楼2012-11-06 12:57
      回复
        不准挖坟。


        IP属地:广东4楼2012-11-16 22:48
        回复

          (1)以上叙述中错误的是___C________
          A)C语言编写的函数源程序,其文件名后缀可以是C
          B) C语言编写的函数都可以作为一个独立的源程序文件
          C) C语言编写的每个函数都可以进行独立的编译并执行
          D)一个C语言程序只能有一个主函数
            (2)若有定义语句:int a=10; double b=3.14;,则表达式'A'+a+b值的类型______C_____A).char B)int C) double D)float
            (15)若有定义语句:int x=12,y=8,z;在其后执行语句z=0.9+x/y;z的值为_____B______A)1.9 B)1 C)2 D)2.4


          IP属地:湖南5楼2012-12-17 22:04
          回复
              (3)若有定义:int a,b;,通过语句scanf("%d;%d",&a,&b);,能把整数3赋给a5赋给b输入数据是______C_____ A)3 5 B)3,5 C)3;5 D)35
              (4)i若有定义语句:int k1=10,k2=20;,执行表达式(k1=k1>k2)&&(k2=k2>k1)后,k1k2的值分别为_____B______A)01 B)020 C)101 D)1020
            (5)有以下程序


            IP属地:湖南6楼2012-12-17 22:04
            回复
                #include <stdio.h>
                main()
                { int a=1,b=0;
              if(- -a) b++;
              else if(a==0) b+=2;
              else b+=3;
                 printf("%d\n",b);
                }
                程序运行后的输出结果是C A)0 B)1 C)2 D)3
                (6)以下不能输出字符A的语句______B_____(注:字符AASCII码值为65,字符aASCII码值为97) A) printf("%c\n",'a'-32); B) printf("%d\n",'A');


              IP属地:湖南7楼2012-12-17 22:04
              回复
                C) printf("%c\n",65); D) printf("%c\n",'B'-1);
                (7)有以下程序(注:字符aASCII码值为97
                  #include <stdio.h>
                main()
                { char *s={"abc"};
                do
                { printf("%d",*s%10); ++s; } while(*s);
                }
                  程序运行后的输出结果______B_____A)abc B)789 C)7890 D)979899
                  (8)若有定义语句:double a, *p=&a; 以下叙述错误的是___A________
                    A)定义语句:*号是一个简址运算符 B)定义语句:*号是一个说明符


                IP属地:湖南8楼2012-12-17 22:04
                回复
                  1


                  9楼2012-12-17 22:23
                  回复

                    C)定义语句中的p只能存放double类型变量的地址
                    D) 定义语句中,*p=&a把变量a的地址作为初始值赋给指针变量p
                      (29)若有定义语句int year=2009, *p=&year;以下不能使变量year中的值增至2010的语句是___A____ A)*p+=1; B)(*p)++; C)++(*p); D) *p++;
                      (26)以下定义数组的语句错误的是___B____
                    A) int num[]={1,2,3,4,5,6}; B) int num[][3]={{1,2},3,4,5,6};
                    C) int num[2][4]={{1,2},{3,4},{5,6}}; D) int num[][4]={1,2,3,4,5,6};


                    10楼2012-12-17 22:24
                    回复

                      (10)有以下程序
                      #include <stdio.h>
                      void fun(int *p)
                      { printf("%d\n",p[5]); }
                      main()
                      { int a[10]={1,2,3,4,5,6,7,8,9,10};
                        fun(&a[3]);
                      }
                        程序运行后的输出结果是___D____A)5 B)6 C)8 D) 9


                      11楼2012-12-17 22:26
                      回复

                        (11)有以下程序
                        #include <stdio.h>
                        #define N 4
                        void fun(int a[][N], int b[])
                        { int i;
                        for(i=0;i<N;i++) b[i]=a[i][i]-a[i][N-1-i];
                        }
                        main()
                        { int x[N][N]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}},y[N],i;
                        fun(x,y);
                        for(i=0;i<N;i++) printf("%d",y[i]); printf("\n");
                        }
                        程序运行后的输出结果是_B_A)-12,-3,0.0, B)-3,-3,1,3 C)0,1,2,3 D)-3,-3,-3,-3


                        12楼2012-12-17 22:27
                        回复

                          (12)若有定义语句:char *s1="OK", *s2="ok";,以下选项中,能够输出"OK"的语句___D____A) if(strcmp(s1,s2)==0) puts(s1); B) if(strcmp(s1,s2)!=0) puts(s2);
                          C) if(strcmp(s1,s2)==1) puts(s1); D) if(strcmp(s1,s2)!=0) puts(s1);
                          (13)以下程序的主函数中调用了在其前面定义的fun函数
                          #include <stdio.h>

                          main()
                          { double a[15], k;
                            k=fun(a);

                          }
                             则以下选项中错误的fun函数的首部___D____
                          A) double fun( double a[15]) B) double fun( double *a)
                          C) double fun( double a[]) D) double fun( double a)


                          13楼2012-12-17 22:28
                          回复

                            (14)有以下程序
                            #include <stdio.h>
                            int f(int m)
                            { static int n=0;
                            n+=m;
                            return n;
                            }
                            main()
                            { int n=0;
                            printf("%d,",f (++n));
                            printf("%d\n",f (n++));
                            }
                               程序运行后的输出结果是__A_____A)1,2 B)1,1 C)2,3 D)3,3
                            (15)有以下程序
                            #include <stdio.h>
                            main()
                            { char ch[3][5]={ "AAAA","BBB","CC"};
                            printf("%s\n",ch[1]);
                            }
                             程序运行后的输出结果是____D___A)AAAA B)CC C)BBBCC D)BBB


                            14楼2012-12-17 22:29
                            回复

                              (16)有以下程序
                              #include <stdio.h>
                              main()
                              { struct node { int n; struct node *next;} *p;
                              struct node x[3]={{2, x+1},{4, x+2},{6, NULL}};
                              p=x;
                              printf("%d,",p->n);
                              printf("%d,",p->next->n);
                              }
                                程序运行后的输出结果是_______A)2,3 B)2,4 C)3,4 D)4,6
                              (17)有以下程序
                              #include <stdio.h>
                              main()
                              { int a=2,b;
                              b=a<<2; printf("%d,\n",b);
                              }
                                程序运行后的输出结果是___D____A)2 B)4 C)6 D)8


                              15楼2012-12-17 22:29
                              回复