#include<stdio.h>

#include<math.h>

int main()

{

int a,e,f,g,*b,*c,*d,*h;

int Sum,Max;

int sum(int x,int y);

int max(int x,int y);  

printf("Please input four number:\n");

scanf("%d%d%d%d",&a,&e,&f,&g);

b=&a;

c=&e;

d=&f;

h=&g;

Sum=sum(a,e);

Max=max(max(max(e,f),g),a);

long int m(int x,int y );

int M;

M=m(a,g);

printf("%d\t\t地址为%p\n",a,b);

printf("%d\t\t地址为%p\n",e,c);

printf("%d\t\t地址为%p\n",f,d);

printf("%d\t\t地址为%p\n",g,h);

printf("SUM=%d\t地址为%p\n",Sum,&sum);

printf("Max=%d\t地址为%p\n",Max,&Max);

printf("M=%ld\t%p\n",M,&M);

return 0;

}  

sum(int x,int y)

{

int z;

z=x+y;

return z;

}

max(int x,int y)

{

int z;

z=x>y?x:y;

return z;

}

m(int x,int y)

{

int z;

if(x==0)

{

 if(y==0)

 printf("错误!");

}

else if(y==1)

{

 printf("重新运行");

}

else

{

 z=pow(x,y);

 return z;

 }  

}