Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!snorkelwacker!usc!ucsd!ucbvax!van-bc!rsoft!mindlink!a464 From: a464@mindlink.UUCP (Bruce Dawson) Newsgroups: comp.sys.amiga.tech Subject: C expression evaluation Message-ID: <961@mindlink.UUCP> Date: 17 Jan 90 22:45:03 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 10 Another C expression which is not clearly defined is this line of code for reading a word from a file: word = getc() * 256 + getc(); There is no guarantee on which getc() it will evaluate first, and since getc() has side effects (ie; incrementing the file pointer)... .Bruce Dawson, not much of a signature.