fork download
  1. #include <stdio.h>
  2. #define Max 100
  3.  
  4. int main(void) {
  5. char str[Max+1];
  6. int i;
  7.  
  8. printf("文字列を入力してください: ");
  9. scanf("%s",str);
  10.  
  11.  
  12.  
  13. printf("変換した文字列: %s\n",str);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
文字列を入力してください: 変換した文字列: