c语言中 #include <stdio.h> #define N 8 void fun (int
c语言中 #include <stdio.h> #define N 8 void fun (int
日期:2014-03-20 09:57:35 人气:1
ps:除去程序运行时小警告;
fun(a,2)相当于*a=*(a+2),指针将a[2]赋值给a[0],最后得到a[0]=3,
按程序的for4次循环输出a[0]、a[1]、a[2]、a[3],即3、2、3、4,就是结果3234.
希望能有所帮助:)