One of the more common cases of allocation size calculations is findingthe size of a structure that has a zero-sized array at the end, alongwith memory for some number of elements for that array. For example: