#include <stdio.h> int main() { int array[]={11,12,13,14,15}; int *p=array+2; int i=0; *p=100; *(++p)=200; *(p++)=300; for(;i<5;i++) printf("%4d",array[i]); }
运行结果: 11 12 100 300 15