It is equivalent to *(p++), but p++ means to use it first and then add it. So first use, that is, the operation of *p, and then add, that is, perform p++.
So *p++ is equivalent to: {* p;; p++
So the current value of *p is 20, and then p++ (which is the value that the pointer is not pointed to by *p) moves back to the position of a[3].
At this point, *p is 30.