fork(3) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char str[] = "BOOM?";
  5. str[0] = 'Z';
  6. str[4] = '!';
  7. printf("%s\n", str);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
ZOOM!