gwadej,
Thanks. I actually have some very bad perl that generates very naive C. Since the perl can know at runtime the number of elements, it does provide sizes. I didn't want the post to be about my lack of knowledge of C so I shared it as a blank template so that those who wanted to could modify it appropriately.