#include <stdio.h>
unsigned char g_board3NpSw[10] = {1};
int main(int argc, char **argv)
{
for (int i=0; i < 10; i++) {
printf("\n%u", g_board3NpSw[i]);
}
return 0;
}
输出:
$ ./c_arr_init_test.exe
1
0
0
0
0
0
0
0
0
0