Lecture 05 - Array Part 2
Array
& → Address of
eg - & Myarray[0] = Myarray = 100
* → Value at
eg - * (Myarray) = 5
* (Myarray + 1) = 10
Let ‘a’ be the name of the array -
*a = *(a+0) = a[0] = 5;
*(a+2) = a[2] = 15;
(a+i) = Base address + i * (size of datatype)...
akashjaiswal-dsa.hashnode.dev2 min read