fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {char a=0;int b=0;char c[50];
  4. int d='-'; int e=0;
  5. while((a=getchar())!=EOF){
  6.  
  7.  
  8. if(a!=(' ')&&a!=(',')){
  9. *c=a;
  10.  
  11.  
  12. printf("%s",c);
  13. printf("%c",c[5]);}
  14. }
  15.  
  16.  
  17.  
  18. }
Success #stdin #stdout 0s 5380KB
stdin
Vova, korova moloko 
stdout
Vovakorovamoloko