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