Eli Bendersky personal blog

Are pointers and arrays equivalent in C? (2009)

Longer answer: it depends on what you mean by "equivalent". Pointer arithmetic and array indexing are equivalent. In other aspects, pointers and arrays are different.
Points
112
HN comments
87
Submissions
2
Cited by
3 commenters

Programming LanguagesSoftware Engineering2015

On Hacker News

SubmittedTitle on HNPointsComments
Mar 21, 2015Are pointers and arrays equivalent in C? (2009) by deanstag11264
Oct 26, 2009Are pointers and arrays equivalent in C? by r11t6523

Cited in comments

Linked from 3 Hacker News comments by 3 different people, from Nov 2014 to Dec 2016.

Most recent:

Search every comment that links here →

More from Eli Bendersky

All 57 posts →

Related posts from the same era