这个完全看不懂,关于指针的,谁能给详细讲解下
#include<stdio.h>int myadd(int *a,int *b)//?
{
int sum;//?
sum = *a + *b;//?
return sum;//?
}
main(void)
{
int x,y,z;//?
int *p,*q;//?
p = &x,q = &y;//?
printf("enter:x,y\n");//?
scanf("%d%d",&x,&y);//?
z = myadd(q,p);//?
printf("%d + %d = %d",x,y,z);//?
}