• 2021-04-14
    在程序中,哪个变量没有正确使用? #include"stdio.h" main() { int a,b,c; a=1;b=021;c=0x3a; d=a+b+c; printf("%d",d); }
  • d
    本题目来自[网课答案]本页地址:https://www.wkda.cn/ask/mtxmxpmaayjejo.html

    内容

    • 0

      Which of the following program is right? A: include <stdio.h> int main(); { /*programming*/ printf("programming!\n"); return 0; } B: include <stdio.h> int main() { /*programming*/ printf("programming!\n"); return 0; } C: include <stdio.h> void main() { /*programming*/ printf("programming!\n") return 0; } D: include <stdio.h> int mian() { /*programming*/ printf("programming!\n"); return 0; }

    • 1

      以下程序的输出结果是( ) #include<stdio.h> main() { int a=0,b=l,c=0,x=0,y=0; if(x<=y) if(y=l0) if(!b) a=1; else if(c) a=10; a=-1; printf("%d",a);}

    • 2

      以下程序打印输出的结果是() #include“stdio.h” main( ) { int a=1,b=2,c=3; if(2) printf(“%d ”,c); }

    • 3

      以下程序的输出结果是 ( ) 。# include <;stdio.h>;void fun(int x){if(x/2>;0)fun(x/2);printf("%d",x);}main(){fun(3);printf("\n");}

    • 4

      有以下程序 #include <stdio.h> int main(){ int x=1,y=2,z=3; if(x>y) if(y<z) printf("%d",++z); else printf("%d",++y); printf("%d ", x++ ); }