fork(1) download
  1. #include <stdio.h>
  2. int main(void) {
  3. char input[]="heablo";
  4. char* o=input;
  5. char* i=input;
  6. for(;*o=*i;i++,o++)
  7. *o=(i[0]=='a' && i[1]=='b' && i++)? 'c': *i;
  8. printf("%s",input);
  9. return 0;
  10. }
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
heclo