Path: utzoo!utgpu!watmath!att!dptg!ulysses!andante!alice!ark
From: ark@alice.UUCP (Andrew Koenig)
Newsgroups: comp.lang.c
Subject: Re: comma operator
Message-ID: <9775@alice.UUCP>
Date: 14 Aug 89 20:51:48 GMT
References: <63244@linus.UUCP> <2300@oakhill.UUCP>
Organization: AT&T Bell Laboratories, Liberty Corner NJ
Lines: 12

In article <2300@oakhill.UUCP>, stevenw@oakhill.UUCP (Steven Weintraub) writes:

> while ((ch = getchar()), ch != EOF && ch != '\n')

I don't see any obvious reason that this is better than

	while ((ch = getchar()) != EOF && ch != '\n')

Do you?
-- 
				--Andrew Koenig
				  ark@europa.att.com