C 語言本身沒有提供shuffle陣列的函式,以下就提供一個打亂陣列的自訂函式。 ... 印出. int i;. for (i=0; i<m; i++){. printf ( "%d = %d\n" , i, a[i]);. }.
確定! 回上一頁