Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!srcsip!gendibal!pclark From: pclark@SRC.Honeywell.COM (Peter Clark) Newsgroups: comp.lang.c Subject: typedef-ing an array Message-ID: <78627@srcsip.UUCP> Date: 28 Jun 90 22:36:11 GMT Sender: news@src.honeywell.COM Lines: 16 Is it possible to specify a type definition like this: typedef char foo[24]; foo bar; and have type 'foo' be an array of 24 characters (or maybe 23 & a null), and variable 'bar' an instance of this type? Is there anyway to typedef an array (of a specific length)? Obviously, the above declaration doesn't do it, or I wouldn't be asking. If the typedef mechanism isn't sufficient (I don't think it is), how can this be done? Pete Clark Honeywell SRC Minneapolis, Mn