Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!pyramid!infmx!kevinf From: kevinf@infmx.UUCP (Kevin Franden) Newsgroups: comp.lang.c Subject: value of TRUE??? Keywords: TRUE, if(), another nonzero value Message-ID: <987@infmx.UUCP> Date: 6 Mar 89 22:48:58 GMT Distribution: usa Organization: Informix Software Inc., Menlo Park, CA. Lines: 19 Hi, I hope someone out there in netland can decide a bet I have with a colleague. I am kinda new to this newsgroup and know that there are alot of C gurus (guri?) out there that can handle this. 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? Thanks for the reply. Kevin Franden Informix Software Inc. disclaimer("I said what I said and NOT my employer");