On 2/8/07, Paul Herring <[EMAIL PROTECTED]> wrote: > On 2/8/07, Tamas Marki <[EMAIL PROTECTED]> wrote: > > > On 2/8/07, Nagaraj M <[EMAIL PROTECTED]> wrote: > > > The if condition getting true because 5 is aggigned to > > > i, i.e. non-zero value is assigned in if condition. > > > The c compiler takes it as if(1). > > in this example it > > will be 5, so if you'd do > > if (i = 0) > > then the condition would fail. > That's what they implied.
Oops, next time I'll read the message I reply to with more caution. :) Thanks! -- Tamas Marki
