From: Paul Shirley Newsgroups: comp.os.msdos.djgpp Subject: Re: how to interpret this... Date: Mon, 2 Dec 1996 23:36:16 +0000 Organization: DrinkSoft Lines: 12 Distribution: world Message-ID: References: <57ve1o$rfk AT lyra DOT csx DOT cam DOT ac DOT uk> NNTP-Posting-Host: chocolat.foobar.co.uk Mime-Version: 1.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <57ve1o$rfk AT lyra DOT csx DOT cam DOT ac DOT uk>, "G.P. Tootell" writes >(a==b==c==0) Because all the '==' operators have equal precedence C is allowed to evaluate them in *any* order it likes. About the only one it won't use is a==b && b==c && c==0 ;) since each '==' evaluation reduces its 2 inputs to a boolean value (destroying the value you planned on testing ;) -- Paul Shirley