1 2 3 4 5 6 7 8 9
#include <stdio.h> int main() { int x[6] = {5, 8, 6, 4, 1, 3}; int *p = x; printf("%d\n", *p * *(p + 2) * *(p + 4)); printf("%d\n", *(p + 1) * *(p + 3) * *(p + 5)); return 0; } /* end */
1 2
30 96