array 和struct 這類東西在程式語言裡都被歸類為aggregate (聚合資料)...] ... 所以,我們可以用以下初始方式把array初值都設為0:. int num[10] = {0};.
確定! 回上一頁