n",i); break; case 1: printf("Enter a string: "); char str[30]; scanf("%30s",&str[0]); //fgets(str,30,stdin); printf("You prompted \'%s\'.
確定! 回上一頁