value of TRUE???

Derek Lee-Wo derek at hsi.UUCP
Wed Mar 8 06:00:39 AEST 1989


In article <987 at infmx.UUCP> kevinf at infmx.UUCP (Kevin Franden) writes:
:
:given: 	:The if() statement will evaluate to true provided that
:	 the argument does not evaluate to 0.  (ie a=3; if (a)...)
:
:Is then the value of true any nonzero integer?
:If it's not, is it equivelent to a nonzero integer?
:
:What does if (a=3) evaluate to?

I believe that would evaluate to true.

-- 
+-----------------------------------------------------------------------------+
|Derek Lee-Wo, Health Systems International, New Haven, CT 06511.             |
|E-mail address :- derek at hsi.com      ...!yale!hsi!derek                      |
+-----------------------------------------------------------------------------+



More information about the Comp.lang.c mailing list