#include <stdio.h>
#include <conio.h>
int main (void) {
int arr[20] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
int *p = arr; /* p指向数组首元素 */
while (p-arr != 20) { /* 遍历数组,每元素值+1 */
(*p)++;
printf ("%d\t", *p);
p++;
}
putchar ('\n');
getch (); /* 屏幕暂留 */
return 0;
}