[comp.lang.c] Empty arrays

drw@cullvax.UUCP (Dale Worley) (07/13/87)

I would like to lobby for allowing declarations of arrays with 0
elements.  This is particularly useful when you are generating code
automatically (and thus don't have to treat 'zero elements' as a
special case), and for allocating a variable list at the end of a
struct:

	struct { int	length;
		 char	text[0]; }

To make this work, you'd have to allow the null initializer "{ }".

Dale