2024-06-02 22:04:54 +08:00
|
|
|
#include "sylib.h"
|
2024-04-14 22:20:29 +08:00
|
|
|
//test array define
|
|
|
|
int main(){
|
|
|
|
int a[4][2] = {};
|
|
|
|
int b[4][2] = {1, 2, 3, 4, 5, 6, 7, 8};
|
|
|
|
int c[4][2] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}};
|
|
|
|
int d[4][2] = {1, 2, {3}, {5}, 7 , 8};
|
|
|
|
int e[4][2] = {{d[2][1], c[2][1]}, {3, 4}, {5, 6}, {7, 8}};
|
|
|
|
return e[3][1] + e[0][0] + e[0][1] + a[2][0];
|
2024-05-19 17:04:50 +08:00
|
|
|
}
|