sizeof(type) == x の時、

type a[10];

sizeof(a) == x * 10
sizeof(a[0]) == sizeof(type) == x

つまり、sizeof(a) / sizeof(a[0]) で配列のサイズが求まる。

固定配列にしか使えないけどな。