fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5.  
  6. char C[101];
  7. scanf("%s",C);
  8.  
  9. int n = strlen(C);
  10.  
  11. for(int i = 0 ; i < n ; i++ ){
  12. printf("%c", C[i]);
  13. if(i!=n-1){
  14. printf(" ");
  15. }
  16. }
  17. printf("\n");
  18.  
  19.  
  20.  
  21. return 0;
  22. }
  23.  
Success #stdin #stdout 0.01s 5288KB
stdin
ABC
stdout
A B C