(*p)++ vs *p++ in C – Which One Changes the Value?
(*p)++ and *p++ differ by nothing but a pair of parentheses — and they do completely different things. One increments the value the pointer targets; the other moves the pointer itself. This question from our C Programming Quiz App checks whether you know which is which, and the answer comes down to operator precedence. The …