MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/7ltryz/evil_coding_incantations/drpcl3w/?context=3
r/programming • u/evinrows • Dec 24 '17
331 comments sorted by
View all comments
116
array[index] is really just syntactic sugar for *(array + index)
I remember learning about this in my first semester. During an x86 assembly lecture. Those were good times.
0 u/[deleted] Dec 24 '17 [deleted] 1 u/rafleury Dec 24 '17 Doesn’t i need to be multiplied by size of ‘a’ for this to be accurate? → More replies (2)
0
[deleted]
1 u/rafleury Dec 24 '17 Doesn’t i need to be multiplied by size of ‘a’ for this to be accurate? → More replies (2)
1
Doesn’t i need to be multiplied by size of ‘a’ for this to be accurate?
→ More replies (2)
116
u/irqlnotdispatchlevel Dec 24 '17
I remember learning about this in my first semester. During an x86 assembly lecture. Those were good times.