fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x[3] = {123,456,789};
  5. printf("%d\n", 0[x]);
  6. printf("%d\n", 1[x]);
  7. printf("%d\n", 2[x]);
  8. return 0;
  9. }
Success #stdin #stdout 0s 2248KB
stdin
stdout
123
456
789