行长度:
sizeof(data1) / sizeof(data1[0]);
列长度:
1 int lines = sizeof(data1) / sizeof(data1[0][0]); 2 int row = sizeof(data1) / sizeof(data1[0]); 3 int column = lines / row;