int arr[10];
for (size_t i = 10; i != 0; i--) {
    arr[i-1] = 0;
}

 

posted on 2018-03-02 15:39  苛性氢  阅读(125)  评论(0编辑  收藏  举报