Given below are two statements : one is labelled as Assertion (A) and the other is labelled as Reason (R).
Assertion (A) : ++*ptr in C increments the value pointed by ptr.
Reason (R) : ptr is a pointer.
In the light of the above statements, choose the most appropriate answer from the options given below :
Show Hint
Unary operators go Right-to-Left! ++*ptr means increment the value. If you wanted to increment the address, you'd use *++ptr.