News for hackers. Stuff that matters.
Re:Are pointers and arrays equivalent in C? (2009) by mpweiher on Saturday March 21, 2015 @01:06PM (#9243344)
Also sizeof is different.

   char a[20];
   char *b;
sizeof a -> the size of the array (20)

sizeof b -> the size of the pointer (8 on my machine)

Re:Are pointers and arrays equivalent in C? (2009) by armada651 on Sunday March 22, 2015 @08:50AM (#9246561)
I was really surprised that it wasn't mentioned since it is the most important difference and a cause of frustration for programmers just beginning to learn C.
Re:Are pointers and arrays equivalent in C? (2009) by syncsynchalt on Saturday March 21, 2015 @11:15PM (#9245419)
Yes, to me this is the largest difference, since it will cause runtime errors instead of compile problems.