+ 3
It is just another way of writing a pointer dereference. The compiler translates the syntax arr[0] into *(arr + 0).
27th May 2022, 4:08 PM
Brian
Brian - avatar
+ 1
for the first question, its the pointer that has the array, both arr refers to same location, isnt it
27th May 2022, 2:13 PM
xpan
xpan - avatar
+ 1
Manav Roy no, not at run time; compile time.
27th May 2022, 4:11 PM
Brian
Brian - avatar