#include<iostream>usingnamespace std;intmain(){int array[4]={13,14,35,33};int*p = array;//相當于int *p1 = &array[0]int*p1 =&array[1];cout<<array<<endl;//數組名相當于數組首地址cout<<*p<<endl;//返回數組首地址上的值cout<<*p1<<endl;//返回數組首地址偏移4個字節上的值cout<<"//"<<endl;for(int i =0; i <4; i++){cout<<p[i]<<endl;}cout<<"//"<<endl;for(int i =0; i <4; i++){cout<<*(p+i)<<endl;}cout<<"//"<<endl;for(int i =0; i <4; i++){cout<<*p++<<endl;}system("pause");}創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎