您的答案為: ***r*****R* thtiTetoSwsdIMaa,aettoUAtoecmooegOBreeoWpcva"i t Rffa 正確答案為: ***r*****R*CthtiTetoSwsdIMaa,aettoUAtoecmooegOBreeoWpcva"iStzmsrIRffaeseiF
1.char sentence[100][100];while (fgets(sentence[index],100,stdin)!=NULL)2.for (int i = 0; i <= Max_char; i++)
1. 最多100字元,加上字串最後面的'\0',需要長度101的陣列才放得下
2. 迴圈執行太多次,會得到OLE