123
int array[] = {1,2,3,4}; size_t x = sizeof(array)/sizeof(int); cout<<x;
2
int array[3]; array[0] = 1; array[2] = 2;
1234