At 1:56, line 7 why cout << a prints the address of the array?
Returning Local Arrays vs Dynamic Arrays
Hey @yajurkhurana
array name is noting but a constant integer pointer pointing to 1st element
Thats why printing array name prints address of first element of array
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.