3 ms·
To whomever downvoted this: if you think I'm wrong, I suggest you look at question 6.3 from the comp.lang.c faq: http://c-faq.com/aryptr/aryptrequiv.html http:/
by KaeseEs 15y ago
To whomever downvoted this: if you think I'm wrong, I suggest you look at question 6.3 from the comp.lang.c faq: http://c-faq.com/aryptr/aryptrequiv.html http://c-faq.com/aryptr/aryptrequiv.html
If you think I'm being too pedantic, a reply rather than a mere downvote would be appreciated.
- kingatomic 15y agoI didn't downvote, but I do think it's a bit pedantic. From my dogeared, beaten copy of K&R: "By definition, the value of a variable or expression of type array is the address of element zero of the array." I don't think what the author wrote expresses that array === pointer, they simply made a statement about the underlying representation.