#include <stdio.h>

int main() {
    int x, y, * p1, * p2, * p;
    printf("Please enter two integers:");
    scanf("%d,%d",&x,&y);
    p1 = &x;
    p2 = &y;
    // 交换指针变量p1和p2
    p=p1;
    p1=p2;
    p2=p;
    printf("x = %d,y= %d\n",x,y);
    printf("*p1 = %d,*p2 = %d",* p1,* p2);
    return 0;
}