412 views
0 votes
0 votes
int main()

{

static int a[]={0,1,2,3,4};

static int *p[]={a,a+1,a+2,a+3,a+4};

printf("%u%u%d",p,*p,*(*p));

}

1 Answer

0 votes
0 votes

let us assume integer is of 2 bytes and pointer is of 4 bytes........i am considering some addresses of arrays./

Related questions

3 votes
3 votes
1 answer
1
Storm_907 asked Apr 16, 2023
470 views
Please explain this question void main() { int a =300; char *ptr = (char*) &a ; ptr++; *ptr=2; printf("%d" , a); }
4 votes
4 votes
4 answers
3
Manoj Kumar Pandey asked May 22, 2019
830 views
https://gateoverflow.in/?qa=blob&qa_blobid=14433986388826671915int main() { int a = 10; int *b = &a; scanf("%d",b); printf("%d",a+50); }What will be the Output of the fol...