#include int main(void){ char ary[50]; printf("文字列を入力してください:"); scanf("%s",ary); //配列の場合 &を前につけない。 printf("%s",ary); return 0; }