fork(1) download
  1. f(char*s,char*c){while(*s-*c||putchar(*c++),*s)putchar(*s++);}
  2.  
  3. int main (int argc, char** argv) {
  4. f("onomatopeia", "oao");
  5. return 0;
  6. }
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
oonomaatoopeia