Turbo-C `incorrect assignment' (thanks).

Dave Hammond daveh at marob.masa.com
Wed Nov 29 05:27:35 AEST 1989


Thanks, collectively, to all those who posted and mailed replies to my
Turbo-C `possibly incorrect assignment' question.

Turbo-C was suggesting that `(p = foo())' might have been a typing
error, truly intended as `(p == foo()).  My concerns about p being
evaluated before the result of foo() was assigned were baseless.

--
Dave Hammond
daveh at marob.masa.com



More information about the Comp.lang.c mailing list