y@ly-OptiPlex-3010:~/Codes/array$ gcc -g main.c
ly@ly-OptiPlex-3010:~/Codes/array$ ./a.out
段错误 (核心已转储)
ly@ly-OptiPlex-3010:~/Codes/array
ly@ly-OptiPlex-3010:~/Codes/array$ ./a.out
段错误 (核心已转储)
ly@ly-OptiPlex-3010:~/Codes/array
ly@ly-OptiPlex-3010:~/Codes/array$ ./a.out
*p=3
*p=1
*p=2
*p=956063960
*p=32767
*p=1
````````````````````````````
p[0]=3
p[1]=1
p[2]=2
p[3]=956063948
p[4]=32767
p[5]=1
*p=3
*p=1
*p=2
*p=956063960
*p=32767
*p=1
````````````````````````````
p[0]=3
p[1]=1
p[2]=2
p[3]=956063948
p[4]=32767
p[5]=1
2017-11-25