<delect id="sj01t"></delect>
  1. <em id="sj01t"><label id="sj01t"></label></em>
  2. <div id="sj01t"></div>
    1. <em id="sj01t"></em>

            <div id="sj01t"></div>
            試題

            計算機二級考試C語言模擬試題二參考答案

            時間:2025-02-20 06:47:43 試題 我要投稿

            2015年計算機二級考試C語言模擬試題(二)參考答案

              第一題:

            2015年計算機二級考試C語言模擬試題(二)參考答案

              1 A 2B 3D 4C 5C 6C 7C 8D 9D 10A

              11D 12D 13B 14A 15C 16C 17A 18A 19C 20A

              第二題:

              1√ 2Ⅹ 3√ 4Ⅹ 5√ 6√ 7√ 8√ 9√ 10√

              第三題:

              1 #號

              2 0

              3 ch!=’\n’ ch>=’0’ && ch<=’9’

              4 從鍵盤上輸入一個字符。

              5 指針變量p為整型

              6 FILE *fp

              7 9

              第四題:

              1 printf("%d,",&a); if (a==1)

              2 12

              3 s=s+1.0/n

              4. 3 4 5

              5 1 2 5

              第五題:

              1.

              #include "stdio.h"

              main()

              { long t=1;

              int i;

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

              t=t*i;

              printf("%ld",t); }

              2

              #include "stdio.h"

              main()

              { int i;

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

              { if(i==0)

              continue;

              printf("%d ",i);

              }

              3.

              #include "stdio.h"

              main()

              { int i,j,a[10];

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

              scanf("%d",&a[i]);

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

              for(j=9;j>i;j--)

              if(a[j-1]{ t=a[j-1];

              a[j-1]=a[j];

              a[j]=t; }

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

              printf("%d",a[i]);

              }

              4.

              #include "stdio.h"

              main()

              { int a[3][3],i,j,s=0;

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

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

              scanf("%d",&a[i][j]);

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

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

              printf(“%d ”,a[i][j] );

              printf(“\n”);

              }

              }

              5.

              #include "stdio.h"

              main()

              { int c;

              FILE *fp;

              fp=open("read.txt","r");

              c=fgetc(fp);

              while(c!='\n')

              { putchar(c);

              c=fgetcr(fp);

              } }

              fclose(); }

            【計算機二級考試C語言模擬試題二參考答案】相關文章:

            最新計算機二級考試C語言模擬試題01-06

            計算機二級《C語言》考試模擬試題與答案07-21

            計算機二級C語言模擬試題03-20

            2015年計算機二級考試C語言模擬試題(三)參考答案03-07

            2015年計算機二級考試C語言模擬試題(六)參考答案02-14

            2015年計算機二級考試C語言模擬試題(一)參考答案04-22

            2015年計算機二級考試C語言模擬試題(五)參考答案05-30

            計算機二級《C語言》模擬試題及答案07-29

            計算機二級C語言模擬試題及答案07-04

            <delect id="sj01t"></delect>
            1. <em id="sj01t"><label id="sj01t"></label></em>
            2. <div id="sj01t"></div>
              1. <em id="sj01t"></em>

                      <div id="sj01t"></div>
                      黄色视频在线观看