$\text{prtdata}$ is a pointer to a data type. The expression $^*\text{prtdata}++$ is evaluated as (in C++)
Post increment is higher priority than dereference operator.
So it evaluated as *(ptrdata++).
it should be option 1.
Post-increment (++) has higher precedence than dereference (*). Hence it increments the address that the pointer holds, then dereferences it
answer will be *(ptrdata++)
64.3k questions
77.9k answers
244k comments
80.0k users