0 votes 0 votes What is the output of the above program? Explanation: (*(*(*p)[1]-2)) = E (*(*(*p)[0]+1)) = A E - A = 4 Programming in C array-of-pointers + – atul_21 asked Jun 2, 2017 atul_21 645 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Here is some sort of explanation aehkn answered Jun 2, 2017 aehkn comment Share Follow See all 4 Comments See all 4 4 Comments reply atul_21 commented Jun 2, 2017 reply Follow Share Thank you @Aehkn Junior 0 votes 0 votes Akriti sood commented Jun 3, 2017 reply Follow Share 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 votes 0 votes venkat_sirvisetti commented Jun 3, 2017 reply Follow Share *(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 votes 0 votes Akriti sood commented Jun 3, 2017 reply Follow Share ok..got it,thanks..:-) 0 votes 0 votes Please log in or register to add a comment.