"|=" operator in C Language: Solved

Status
Not open for further replies.
Joel Rainville said:
Your "workaround" is very hard to read.

I use "condition" instead of A or B to avoid possible confusion with the case of operands with values other than true/false.

Do you have a better version?
 

The better version is the != one. You don't like it?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…