0 votes 0 votes ptrdata is a pointer to a data type . The expression *ptrdata++ is evaluated as ( in C++) a) *(ptrdata++) b) (*ptrdata)++ c) *(ptrdata)++ d) depends on compiler Programming in C programming-in-c pointers + – Meenakshi Sharma asked Nov 5, 2017 Meenakshi Sharma 2.4k views answer comment Share Follow See 1 comment See all 1 1 comment reply Rupendra Choudhary commented Nov 5, 2017 reply Follow Share http://www.geeksforgeeks.org/difference-between-p-p-and-p/ 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes ++ have more precedence then * so *(p++) sachin! answered Nov 5, 2017 sachin! comment Share Follow See 1 comment See all 1 1 comment reply saipriyab commented Nov 5, 2017 reply Follow Share I think ++ and * have same precendence so based on associativity evaluation is done from right to left.So option A is correct 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Answer should be A OO7 answered Jun 19, 2018 OO7 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes *(ptrdata++) Ammu9682 answered Jun 19, 2018 Ammu9682 comment Share Follow See all 0 reply Please log in or register to add a comment.