c - What will be the value in the below cases? -


if define array arr[] , define pointer it:

int *p=arr; 

if value of arr (in terms of address) 0x1234. value of p? same?

yes. value same. check this, try

printf("arr=%p p=%p\n", arr, p); 

Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -