value of TRUE???
James C. Benz
jcbst3 at cisunx.UUCP
Fri Mar 10 07:01:28 AEST 1989
In article <987 at infmx.UUCP> kevinf at infmx.UUCP (Kevin Franden) writes:
>What does if (a=3) evaluate to?
if (a=3) will evaluate to true, since the value of (a=3) is 3, a non-zero value
Now, if you had said, if (a == 3), it is highly dependent on the value of 3.
The values of TRUE and FALSE are 1 and 0, and are defined as constants in
I think, the stdio library.
--
Jim Benz jcbst3 at unix.cis.pittsburgh.edu If a modem
University of Pittsburgh answers,
UCIR (412) 648-5930 hang up!
More information about the Comp.lang.c
mailing list