1 votes 1 votes Consider below code My ans : mech,g,mech Given ans : mech,g,civil third printf statement is somwhat confusing .. please explain Programming in C programming-in-c pointers + – Anjan asked Jan 17, 2018 Anjan 335 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply MiNiPanda commented Jan 17, 2018 reply Follow Share Those won't be "%d" right!? 0 votes 0 votes MiNiPanda commented Jan 17, 2018 reply Follow Share After the 1st printf, the address value in a[0] gets incremented. I guess you were doing the mistake there. 1 votes 1 votes Mamta Satywali commented Jan 18, 2018 reply Follow Share **++a[0] will be executed as - **++*(a+0) **++arr1 [mind here, arr1=arr1+1] **(arr1+1) = "mech" **(++a)[0] will be executed as - **(a+1)[0] [mind here, a=a+1] ***(a+1+0) ='g' *a[-1][1] will be executed as - **(a-1)[1] [ here, a=a+1 from 2nd printf] **(a)[1] *arr1[1] [here, arr1=arr1+1 from 1st printf] More specifically this is - **(arr1+1+1)=**(arr1+2)="civil" 1 votes 1 votes Please log in or register to add a comment.