参数传递方式:传值与传地址

#include<stdio.h> void fun(int *a, int *b, int *c) { int *temp; temp=a; a=b; b=temp; *temp=*b; *b=*c; *c=*temp; } int main() { int a,b,c,*p1,*p2,*p3; a=5; b=7;
相关文章
相关标签/搜索