📅  最后修改于: 2022-03-11 15:04:36.655000             🧑  作者: Mango
int a[17]; // initializing an array
int length = sizeof(a)/sizeof(a[0]); // divide array size(in byte)/ size of the first element of the array of the same type, here int(integer size is 4byte)