超出陣列的部分不能保證可以正確的存取! ptr = str1; // OK! ... 使用void readStudent(struct Student stu) { printf("姓名:"); scanf("%s", &stu.name); ...
確定! 回上一頁