整专业资料
微信QQ群
考生网QQ群

群号:517231281

扫码加群
点击二维码加群

考生网微信公众号

微信号:zikaosw

课程试听
最新资讯

手机端访问

1、直接输入www.zikaosw.cn
2、扫描左侧二维码

登录 | 注册
登录/注册后,可享受
  • 课程免费试听
  • 试做在线题库
  • 学习提升指导
  • [主观题] 【程序题】有以下程序:
    #include
    main()
    {intC;
    While((c=gerchar())!=‘\n’
    {case0:
    casel:putchar(c+4);
    case2:putchar(c+4);break;
    case3:putchar(c+3);
    case4:putchar(c+2);break;
    }
    printf(“\n”);}
    从第一列开始输入以下数据,代表一个回车符。
    2743
    程序的输出结果是___________

     纠错    

  • 助考班推荐

您可能感兴趣的试题

  • 1、[单选题]设有以下语句:
    charstr1[]=“string”,str2[8],*str3,*str4=“string”;
    则不能对库函数strcpy(复制字符串)的正确调用的是【】

    • A、strepy(str1,“HELLO1”);
    • B、strepy(str2,“HELL02”);
    • C、strcpy(str3,“HELL03”)
    • D、strcpy(str4,“HELLO4”);
  • 2、[填空题]设a为int变量,b为float变量,则a+b的运算结果为_________型数据。

  • 3、[填空题]以下程序运行后的输出结果是_________。
    main( )
    {int a=1,b=3,c=5;
    if(c=a+b)
    printf(“yes”);
    else
    printf(“not”);
    }

  • 4、[填空题]以下程序运行后的输出结果是_________。
    main( )
    {int a=010,b=2,c;
    c=a+b;
    printf(“%d”,c);
    }

  • 5、[主观题]【程序题】有以下程序
    voidf(int*x,int*y)
    {intt;
    t=*x;*x=*y;*y=t;
    }
    main()
    {inta[8]={1,2,3,4,5,6,7,8},i,*p,*q;
    p=a;q=&a[7];
    while(pif(p,q);
    p++;
    q--;}
    for(i=0;i<8;i++)
    printf(“%d,”,a[i]);
    }
    程序运行后的输出结果是___________

Copyright © 2010 - 2023 湖南求实创新教育科技有限公司 All Right Reserved.

温馨提示:如您需要的资料本网暂时没有,请于工作日08:00-18:00,点击这里,联系客服及时补充资料。