0 votes 0 votes how the o/p is 3 of this question explain.? Programming in C made-easy-test-series programming-in-c programming + – nikkey123 asked Nov 19, 2017 • edited Mar 4, 2019 by adeebafatima1 nikkey123 280 views answer comment Share Follow See 1 comment See all 1 1 comment reply Red_devil commented Nov 19, 2017 reply Follow Share B[1]=*(B+1); B is pointing to second element of A so now *(B+1) will give you 3 0 votes 0 votes Please log in or register to add a comment.
Best answer 2 votes 2 votes Elements 1 2 3 Address (1000-1003) (1004-1007) (1008-1011) B=&A[1] B= 1004 B[1] = *(1004 +1) {Skipping one element of size 4 Byte} =*(1008) =3 Akash Mittal answered Nov 19, 2017 • selected Nov 19, 2017 by srestha Akash Mittal comment Share Follow See all 2 Comments See all 2 2 Comments reply nikkey123 commented Nov 19, 2017 reply Follow Share thx for nice explanation bro :) 0 votes 0 votes nikkey123 commented Nov 19, 2017 reply Follow Share plz also check the question https://gateoverflow.in/170061/made-easy-test-series 0 votes 0 votes Please log in or register to add a comment.