*p++ = *p results?

Kevin L. Malloy kevin at imagen.UUCP
Sat Mar 22 09:37:26 AEST 1986


In the statement *p++ = *p; what will be the result?  Will p be equal
to itself or will p be equal to the next value it is pointing to?
In other words should p be incremented after it is evaluated or should
p be incremented after the assignment operation is finished?-- 
---
"If you can't trust a biker who can you trust?"

Sturgis '86

Name:	Kevin Malloy
Mail:	Imagen Corp. 2650 San Tomas Expressway, P.O. Box 58101
        Santa Clara, CA 95052-9400
AT&T:	(408) 986-9400
UUCP:	...{decvax,ucbvax}!decwrl!imagen!kevin 



More information about the Comp.lang.c mailing list