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