1,202 views
1 votes
1 votes
#include <stdio.h>
main()
{
    int arr[5];
    printf("%p,%p\n",arr,&arr);
}

How do both print the same address?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
atul_21 asked Jun 2, 2017
607 views
What is the output of the above program?Explanation:(*(*(*p) -2)) = E (*(*(*p)[0]+1)) = A E - A = 4
0 votes
0 votes
0 answers
2
gmrishikumar asked Jan 2, 2019
831 views
#include<stdio.h>int main ( ){ int demo ( ); // What is this and what does it do? demo ( ); (*demo) ( );}int demo ( ){ printf("Morning");}
0 votes
0 votes
1 answer
3
Chhotu asked Nov 20, 2017
520 views
Hi,Why multiple dereferencing is not creating problem in the following program ?https://ideone.com/3Li06v (Check line 1,2 & 3. all are giving same O/P)