fork(1) download
  1. #include <stdio.h>
  2.  
  3. int
  4. main(void)
  5. {
  6. int arr[] = { 2, 8, 2 };
  7.  
  8. printf("%i\n", arr[1]);
  9. printf("%i\n", *(arr + 1));
  10. return 0;
  11. }
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
8
8