• 2021-04-14
    #include <stdio.h>void main(){ int x=20,y=50; printf(
  • 050
    本题目来自[网课答案]本页地址:https://www.wkda.cn/ask/emoayeazexjpzto.html

    内容

    • 0

      下面程序的运行结果是a=____,b=____。#include<;stdio.h>;int main( ){void f( int x , int y ) ;int a = 1 , b = 2 ;f( a , b ) ;printf( "a=%d,b=%d\n" , a , b ) ;return 0 ;}void f( int x , int y ){x = 100 ;y = 200 ;}

    • 1

      有以下程序 #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++ ); }

    • 2

      以下程序中,运行结果是36的有()。 A: include <stdio.h> B: define M(y) y*y int main() { printf("%d\n",M(6+0)); return 0; } C: include <stdio.h> D: define M(y) (y)*(y) int main() { printf("%d\n",M(6+0)); return 0; } E: include <stdio.h> int M(int y) { return y*y; } int main() { printf("%d\n",M(6+0)); return 0; } F: include <stdio.h> int M(int y) { return (y)*(y); } int main() { printf("%d\n",M(6+0)); return 0; }

    • 3

      #include &#91;stdio.h&#93; int x,y; int f(int x){ y=x++; printf("%d",y); } int main(void){ int x=5; f(x); f(x); return 0; }

    • 4

      下列程序的输出结果是()。#include<;stdio.h>;void f(int x,int y,int z){z=x+y;}void main(){int a;f(5,6,a);printf("%d\n",a);} A: 12 B: 11 C: 1 D: 不确定