004:神秘的数组初始化

 1 #include <iostream>
 2 using namespace std;
 3 
 4 int main()
 5 {
 6     int * a[] = {
 7 NULL
 8 };
 9     
10     *a[2] = 123;
11     a[3][5] = 456;
12     if(! a[0] ) {
13         cout << * a[2] << "," << a[3][5];
14     }
15     return 0;
16 }

 

posted @ 2022-09-13 22:24  balabalahhh  阅读(28)  评论(0编辑  收藏  举报