John Franklin <[EMAIL PROTECTED]> writes: > > Not in C. > > Actually you can (see below). No you can't. This is from C99: 6.7.5.2 Array declarators Constraints In addition to optional type qualifiers and the keyword static, the [ and ] may delimit an expression or *. If they delimit an expression (which specifies the size of an array), the expression shall have an integer type. If the expression is a constant expression, it shall have a value greater than zero. [...] > What follows was done on a NetBSD 1.5 system. Which uses gcc. I think they use a similar example in the spec, but with an array size of one. /Johan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Question regarding the array of size 0. Shankar Agarwal
- Re: Question regarding the array of size 0. Peter Seebach
- Re: Question regarding the array of size 0. John Franklin
- Re: Question regarding the array of size 0. Peter Seebach
- Re: Question regarding the array of size 0. Johan Danielsson
- Re: Question regarding the array of size 0. Julian Elischer
- Re: Question regarding the array of size 0. Todd Whitesel
- Re: Question regarding the array of size... Peter Seebach
- Re: Question regarding the array of... Alfred Perlstein
- Re: Question regarding the arra... Harti Brandt
- Re: Question regarding the ... Lord Isildur
- Re: Question regarding the ... John Franklin
- Re: Question regarding the ... Lord Isildur
- Re: Question regarding the ... John Franklin
- Re: Question regarding the ... Benny Prijono