fork download
  1. #include<stdio.h>
  2. int main() {
  3. int a[2][3] = { {-3, 14, 5 }, {1, -10, 8 } };
  4. int *b[] = {a[0], a[1] };
  5. int *p = b[1];
  6. printf("%d ", *b[1]);
  7. printf("%d ", *(++p));
  8. printf("%d", *(--p-2));
  9. return 0;
  10. }
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
1 -10 14