Array Decaying
Learn about the important mechanism of array decaying.
Introduction
We discovered that arr
just like &arr[0]
is a pointer to the first element inside the array.
See the following code, where we print their addresses. It’s the same code we used in previous lessons:
Get hands-on with 1400+ tech skills courses.