Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!ima!haddock!karl From: karl@haddock Newsgroups: net.lang.c Subject: Re: C Coding Question Message-ID: <86900025@haddock> Date: Fri, 22-Aug-86 13:46:00 EDT Article-I.D.: haddock.86900025 Posted: Fri Aug 22 13:46:00 1986 Date-Received: Fri, 22-Aug-86 22:15:15 EDT References: <248@killer.UUCP> Lines: 12 Nf-ID: #R:killer.UUCP:248:haddock:86900025:000:513 Nf-From: haddock!karl Aug 22 13:46:00 1986 >["type *" and "type []"] are IDENTICAL to virtually every C compiler ... >Arrays in C are merely special cases of pointers. You are wrong, but you've got a lot of company. I almost wish the language had kept arrays and pointers completely separate, requiring "&a[0]" to change an array into a pointer, and "*(p+n)" to index from a pointer. Or maybe "p@[n]", where "@" is some postfix operator that converts a pointer into an array of unknown size. Karl W. Z. Heuer (ihnp4!ima!haddock!karl), The Walking Lint