【2】圖解——有關於數組越界的問題

int i; int arr[i]; for ( int i = 0; i <= 10; i++) { arr[i] = 0; printf("%d\n",i); } 數組越界 使程序陷入死循環。如下圖所示:
相關文章
相關標籤/搜索