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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Mar 21, 2015 | Are pointers and arrays equivalent in C? (2009) by deanstag | 112 | 64 |
| Oct 26, 2009 | Are pointers and arrays equivalent in C? by r11t | 65 | 23 |
Cited in comments
Linked from 3 Hacker News comments by 3 different people, from Nov 2014 to Dec 2016.
Most recent: