Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.lang.c Subject: Re: Question about int result of relational operator Message-ID: <389@auspex.UUCP> Date: 2 Nov 88 09:26:16 GMT References: <787@gtx.com> Reply-To: guy@auspex.UUCP (Guy Harris) Distribution: na Organization: Auspex Systems, Santa Clara Lines: 6 >I've seen conflicting information about the int result of a relational >operator in which the condition is satisfied. Does it evaluate to >exactly one, or just "non-zero" ? It evaluates to exactly one in all C implementations. (Implementations where it does not may purport to be C implementations, but they aren't.)