fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char* ar[4]={"arrtest","a0","123"};
  5. scanf("%s",ar[2]);
  6. printf("%s",ar[2]);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
123