4 ms·
See? I read that both forms are translated to * (c + n), which explains the equivalence. Weird, no? Well, that surely is evil, yet perfectly valid C code. But
by alxv 19y ago
See? I read that both forms are translated to * (c + n), which
explains the equivalence. Weird, no?
Well, that surely is evil, yet perfectly valid C code. But personally, I don't find it surprising. Of course, you need to grok what A[n] really is -- i.e., syntactic sugar for *(A + n), as you just explained.
- schtog 18y agowhich is the same as *(n + A)?