'ptrdata' is a pointer to a data type. The expression *ptrdata++ is evaluated as (in C++):
(1) *(ptrdata++) (2) (*ptrdata)++
(3) *(ptrdata)++ (4) Depends on compiler
Post-increment (++) has higher precedence than dereference (*). Hence it increments the address that the pointer holds, then dereferences it
answer will be *(ptrdata++)
following link is Kvs_Pgt_Question Paper...