Be sure there is no direct equivalent, though you can use macro like:
#define DIM(a) (sizeof(a)/(sizeof(*a)))
C (and C++) does not care about any properties of array except its address, so you can easily miss the end of array and spoil some other variable's memory.
Or better use STL containers, like "list" etc. instead of simple arrays. They are like collections in java...