fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(int argc, char* argv[])
  4. {
  5. int arr[5], i;
  6.  
  7. for (i = 0; i < 5; i++) scanf("%d", &arr[i]);
  8. for (i = 0; i < 5; i++) printf("%d ", arr[i]);
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 2252KB
stdin
1 2 3 4 5
stdout
1 2 3 4 5