c语言自学教案sway(p1,p2)intp1,p2;{intp;p=p1;p1=p2;p2=p;