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