Is typedef char BUFFER[20] legal?

Avery Colter avery at netcom.UUCP
Sun Feb 3 10:23:11 AEST 1991


Hmmmmmm....

My instinct right now is telling me that 

typedef char[20] BUFFER

is more consistent...

But I'll take the word of the more experienced that the first def
can be done too.

-- 
Avery Ray Colter    {apple|claris}!netcom!avery  {decwrl|mips|sgi}!btr!elfcat
(415) 839-4567   "I feel love has got to come on and I want it:
                  Something big and lovely!"         - The B-52s, "Channel Z"



More information about the Comp.lang.c mailing list