設定結構data 其結構變數student[5] 設定一函數 struct data best(struct data student[]) { 這裡取最大值的index return student[index]; } 想問要怎麼在main中接受這個傳回值 我設student[4]=struct data best(student); 跟另外定義一個struct data temp; temp=struct data best(student); 這兩種都不行。。 請問下傳回值為結構元素怎麼接受0.0