For this purpose, we shall learn a new C function, getline() (Program listing ... getline(&a,&bufsize,stdin); printf("Hello %s\n",a); /* free the memory ...
確定! 回上一頁