ndun78@gmail.com wrote:
>
>> > Is there a reason for avoiding the obvious
>> > status_bit = (i < j);
>>
> I think that it is not guaranteed to get only 1 or 0 as a result of i
> < j, this may result in 0 or non zero value is it not?
No, the relational operators yield either 1 or 0.