At 04:39 PM 7/26/01 +0100, you wrote: > Actually, `buffer' behaves perfectly consistently if you think of >it as a constant which happens to have type (char *), just as 1 is a >constant that happens to have type (int). The value of the constant >`buffer' is the address of the start of the array you declared. I think somebody (the RAmmerman?) had an example where it did *not* behave as a constant pointer to char.. using sizeof. sizeof() gives the size of the entire array for an array name, and the size of the pointer for a pointer. He spoke of array names "decaying" to pointers to char, an interesting term that is neither in the standard (ISO/IEC 9899:1999 (E)) nor in K&R II. Best regards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads