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.
sizeof b -> the size of the pointer (8 on my machine)