sizeof?

'interval' is (essentially) a pointer. So, 'sizeof(interval)' should give you the size of a pointer -- NOT the size of the array. But, don't know why it's giving you 0. Maybe show more code?