#include #include #define SIZE 256 int main(void) { char word[SIZE], str[SIZE]; strcpy(str, "|"); while (1) { printf("単語を 1 つ入力してください:"); scanf("%s", word); } printf("str = %s\n", str); return 0; }