fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. int i;
  4. char s[100];
  5. scanf("%s",s);
  6. printf("%s\n -> ",s);
  7.  
  8. s[0]='I';
  9.  
  10. printf("%s\n",s);
  11. return 0;
  12. }
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
  -> I