Author: David Rasmussen
Date: 16:47:38 01/19/02
Go up one level in this thread
On January 19, 2002 at 19:19:20, Sune Fischer wrote: >On January 19, 2002 at 18:01:13, Angrim wrote: >>> > >>So in summary, arrays are not pointers, and it is possible to >>mess up your programs by confusing the two. >> >>Angrim > >Other than the sizeof operator and the fact that > >char a[5]; >char *p; > >a=p; > >is illegal, I don't see the differences. >The syntax is, from my point of view, identical. > >-S. I have yet to see an example, besides for the sizeof _feature_, where arrays are _not_ the same as constant pointers. /David
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.