Array Decay and array pointer - C Programming Course STEP by STEP (15)
HTML-код
- Опубликовано: 11 сен 2024
- Array decay in C consists in the loss of its type and dimensions. In English, this concept is widely known as Array Decay. Today we detail how array decay is generated in the C programming language, but we also talk about array pointers and the difference between pointer to the first element of the array type (*) and pointer to the complete array type (*)[n], which leads us to talk superficially about pointers to pointers.
The content:
00:03 - What is array decay in the C programming language.
00:47 - Example of array decay
02:47 - Difference between pointer to array and pointer to the first array element
05:50 - Pointer to entire array in memory
09:03 - Increment in an array pointer
09:33 - Accessing the array itself from the array pointer
12:16 - Getting the array size from another function
Watch all the videos of the C course: • Aprende a programar 📙 ...
Watch all the videos of the C course: • Aprende a programar 📙 ...
See the C course repository: github.com/dfb...
Facebook: goo.gl/HDLFyn
Twitter: goo.gl/pcFziM
#LearnToProgram #CCourse