Re: C Questions
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Mon, 05 Nov 2007 11:24:54 +0000
pete said:
Richard Heathfield wrote:
! yields 0 if its (numeric!) operand is non-zero, and 1 otherwise.
! yields 0 if its scalar operand does not compare equal to zero,
and 1 otherwise.
Oh yes, you can do !p, can't you? I see that as being rather silly, but
you're quite right that it's legal. I'm not sure that I see the
distinction between "is non-zero" and "does not compare equal to zero". I
consider them to be equivalent statements.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- Follow-Ups:
- Re: C Questions
- From: pete
- Re: C Questions
- From: Flash Gordon
- Re: C Questions
- References:
- C Questions
- From: aarklon
- Re: C Questions
- From: Ben Pfaff
- Re: C Questions
- From: aarklon
- Re: C Questions
- From: Old Wolf
- Re: C Questions
- From: aarklon
- Re: C Questions
- From: Keith Thompson
- Re: C Questions
- From: aarklon
- Re: C Questions
- From: Richard Heathfield
- Re: C Questions
- From: pete
- C Questions
- Prev by Date: Re: Bug/Gross InEfficiency in HeathField's fgetline program
- Next by Date: Re: "test.c:20: error: expected identifier before ?(? token"
- Previous by thread: Re: C Questions
- Next by thread: Re: C Questions
- Index(es):
Relevant Pages
|