Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  阅读程序,写出运行的结果() # include<stdio.h> void fun(inti,int j) { int x=7; printf("i=%d;j=%d;x=%d\n",i,j,x); } main() { inti=2,x=5,j=7; fun(j,6); printf("i=%d;j=%d;x=%d\n",i,j,x); }
Language: C/C++
Code:


# include<stdio.h>

void fun(inti,int j)

{ int x=7;

  printf("i=%d;j=%d;x=%d\n",i,j,x);

}

main()

{ inti=2,x=5,j=7;

 fun(j,6);  

  printf("i=%d;j=%d;x=%d\n",i,j,x); 

}
Comments: