Of course, trying to take the address of a variable declared to be in the register storage class is an error, and taking the address of a variable in the normal automatic storage class typically forces it to live on the stack.
At this point you’ll have to remember that in C, arrays are represented by pointers to their first value.
No, they aren't. Arrays can _decay_ to a pointer when passed as function parameters, but arrays and pointers are different things. Between these two items, I think the author either a) is talking down to his audience more than is warranted or b) fundamentally misunderstands C.If you think I'm being too pedantic, a reply rather than a mere downvote would be appreciated.
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.
I don't really know C well, as I'm mainly programming in PHP. Sure, I can read and write it, but I definitely don't know the details of the language (and yes, I'd consider that a detail as the only difference I know of is the behavior of sizeof).