I don't have K&R with me now :P but I'm pretty sure that ++*l would do the job...
Pointer dereference and ++ have are both unary operator... so they will have the same priority and will be evaluated from right to left...
++*l is the same as ++(*l) and WRONG *l++ is the same as *(l++)...
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.