选择题   分析下面函数
    swap(int *p1,*p2)
    {int *p;
      *p=*p1;*p1=*p2;*p2=*p;
    }
    则该程序功能为______
 
【正确答案】 D
【答案解析】