in Programming in C
636 views
0 votes
0 votes

image:Q9_1.png
What is the output of the above program?


Explanation:

(*(*(*p)[1]-2)) = E 
(*(*(*p)[0]+1)) = A 
E - A = 4 

in Programming in C
by
636 views

1 Answer

1 vote
1 vote

Here is some sort of explanation 

by

4 Comments

Thank you @Aehkn Junior
0
0
i have one doubt, *(p)[1] can be written as *(p+0)[1] which can be further written as p[0][1],,so how is it address of U?
0
0
*(p)[1] does not equal p[0][1]. Braces have higher priority than the dereference operator. So *(p)[1] means *((p)[1]) and p[0][1] means (*(p))[1].
0
0
ok..got it,thanks..:-)
0
0

Related questions