fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int foo[] = {2, 3, 5};
  5. int bar[] = {7, 11, 13};
  6. printf("%d\n", sizeof(int*));
  7. printf("%u\n%u\n", foo+0, bar+0);
  8. printf("%d\n", foo[3]);
  9. printf("%d\n", foo[4]);
  10. printf("%d\n", foo[5]);
  11. return 0;
  12. }
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
4
3218667480
3218667492
7
11
13