A.
B. includevoid swap(int *p,int *q);{ int *t; t=p;p=q;q=t;}int main(){ int a=10,b=20; swap(&a,&b); printf("%d %d\n",a,
C. ;return 0;} B、
D. includevoid swap(int *p,int *q);{ int t; t=*p;*p=*q;*q=t;}int main(){ int a=10,b=20; swap(&a,&b); printf("%d %d\n",a,b);return 0;}
E. C.
F. include void swap(int *p,int *q){ int t; t=*p;*p=*q;*q=t;}int main(){ int x,y,*a=&x,*b=&y; *a=10,*b=20; swap(a,b); printf("%d %d\n",*a,*b); return 0;}
G. D.
H. includevoid swap(int *p,int *q);{ int t; t=*p;*p=*q;*q=t;}int main(){ int a=10,b=20; int *x=&a,*y=&b; swap(x,y); printf("%d %d\n",a,b); return 0;}