display | more...

An expression in C that tends to be a little confusing if you're not thinking too hard. It is a combination of pointer arithmetic and dereferencing. Since it is *ptr++ and not *++ptr (gee, that looks weird), the current address is dereferenced, rather than the post-increment address.

It does not mean "increment the value of the memory at ptr"; that would be (*ptr)++ or ++*ptr.

Log in or register to write something here or to contact authors.