Re: Dereference an array pointer... UB?
Keith Thompson:
Yes but an array type isn't a value -- which is the very reason why
arrays decay to a pointer to their first element, so that we can actually
get a value out of them.
--
Tomás Ó hÉilidhe
Keith Thompson:
An expression of array type is converted to a pointer. There has to
be something to convert in the first place.
be something to convert in the first place.
Yes but an array type isn't a value -- which is the very reason why
arrays decay to a pointer to their first element, so that we can actually
get a value out of them.
--
Tomás Ó hÉilidhe
Comment