您现在的位置:在线题库 >> 计算机类 >> C语言
  • ID:9372-7038
    以下程序运行后的输出结果是
    fun(int a)
    {
    int b=0;static int c=3;
    b++; c++;
    return (a+b+c);
    }
    main()
    { int i,a=5;
    for(i=0;i<3;i++)
    printf("%d %d ",i,fun(a));
    printf("\n");
    }

  • 相关试题查看更多

  • ID:9372-2127

    设有定义:int a*pa=&a;以下scanf语句中能正确为变量a读入数据的是(

    Ascanf("%d",pa) Bscanf("%d",a)

    Cscanf("%d",&pa) Dscanf("%d",*pa)

    查看解析

  • ID:9372-2146

    (编程题)编写一个程序,将两个字符串连接起来,不要用strcat

    查看解析

  • ID:9372-9305
    若已定义xydouble型,则表达式:x=1y=x+32的值是( )
    A1 B2.0 C2 D2.5

    查看解析

  • ID:9372-7028

    若有定义float x=1.23456789;printf(“%f”,x);的输出结果为

    查看解析

  • ID:9372-9259

    C语言源程序文件经过C编译程序编译连接之后生成的文件后缀名为(

    A> .c B> .obj C> .exe D> .bas

    查看解析