Difference between Array of pointers and Pointer to an array in c programming.
Array of pointers (int *array_of_ptr[5]) - Array of pointers which can store the addresses of 5 variables.
Pointer to an array (int (*ptr_to_array)[5]) - Single pointer which can point to array of 5 pointers.
I have explained basics of array of pointers and pointer to an array with examples in the video.
You will get the complete understanding and difference between Array of pointers and pointer to an array after watching this video.
================ content of this video ================
0:00 intro
0:15 precedence problem
0:55 array of pointers
1:54 pointer to an array
3:10 coding - array of pointers
4:20 coding - pointer to an array
6:25 summery
#bydubebox
#pointers #pointertoarray #arrayofpointers
https://en.wikipedia.org/wiki/Array_d...
https://wikieducator.org/Array_of_Poi...