Re:Are pointers and arrays equivalent in C? (2009)
by deanstag on Sunday March 22, 2015 @12:36AM
(#9245599)
Yeah. I was exploring exactly this problem when i came across this original article. Later i saw that "char arr[] = "stuff" " actually inserts assembly code that puts the value stuff into the stack. That was interesting news to me.
stackoverflow.com/questions/29184100/char-array-and-pointer-initialization-semantics/29184190#29184190
[ Parent
| on HN ]
There are no comments on this comment yet.