Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bool people[30][6]; for(int i = 0; i < 30; i++) for(int j = 0; j < 6; j++) people[i][j] = true;
的值是people[29][0]多少people[29][1]?是true,false还是NULL?
people[29][0]
people[29][1]
true
false
NULL
people[30][1],people[30][2]是未定义的值 - 30 超出了数组的声明范围(最大为 29)。
people[30][1],people[30][2]